We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a38b70 commit d8cf51bCopy full SHA for d8cf51b
core/migrations.py
@@ -1,6 +1,6 @@
1
import datetime
2
import re
3
-from typing import Optional, List
+from typing import List, Optional
4
5
from core import blocklist
6
from core.models import getLogger
core/thread.py
@@ -1,11 +1,7 @@
import asyncio
-import base64
import copy
-import functools
-import io
7
import time
8
-import traceback
9
import typing
10
import warnings
11
from datetime import timedelta
@@ -1022,7 +1018,9 @@ async def send(
1022
1018
images.extend(image_urls)
1023
1019
images.extend(
1024
1020
(
1025
- i.url if i.format in (discord.StickerFormatType.png, discord.StickerFormatType.apng) else None,
1021
+ i.url
+ if i.format in (discord.StickerFormatType.png, discord.StickerFormatType.apng)
+ else None,
1026
i.name,
1027
True,
1028
)
0 commit comments