@@ -145,9 +145,11 @@ async def info(self, ctx: interactions.SlashContext, emoji: str) -> None:
145
145
146
146
image = interactions .EmbedAttachment (url = _url )
147
147
embed = interactions .Embed (
148
- title = f"``<a:{ emote .name } :{ emote .id } >``"
149
- if emote .animated
150
- else f"``<:{ emote .name } :{ emote .id } >``" ,
148
+ title = (
149
+ f"``<a:{ emote .name } :{ emote .id } >``"
150
+ if emote .animated
151
+ else f"``<:{ emote .name } :{ emote .id } >``"
152
+ ),
151
153
description = "" .join (
152
154
[
153
155
f"[Emoji link]({ _url } )\n " ,
@@ -187,9 +189,11 @@ async def info(self, ctx: interactions.SlashContext, emoji: str) -> None:
187
189
)
188
190
image = interactions .EmbedAttachment (url = url )
189
191
embed = interactions .Embed (
190
- title = f"``<a:{ _emoji .name } :{ _emoji .id } >``"
191
- if _emoji .animated
192
- else f"``<:{ _emoji .name } :{ _emoji .id } >``" ,
192
+ title = (
193
+ f"``<a:{ _emoji .name } :{ _emoji .id } >``"
194
+ if _emoji .animated
195
+ else f"``<:{ _emoji .name } :{ _emoji .id } >``"
196
+ ),
193
197
description = "" .join (
194
198
[
195
199
f"[Emoji link]({ url } )\n " ,
@@ -229,9 +233,11 @@ async def info(self, ctx: interactions.SlashContext, emoji: str) -> None:
229
233
)
230
234
image = interactions .EmbedAttachment (url = url )
231
235
embed = interactions .Embed (
232
- title = f"``<a:{ _emoji .name } :{ _emoji .id } >``"
233
- if _emoji .animated
234
- else f"``<:{ _emoji .name } :{ _emoji .id } >``" ,
236
+ title = (
237
+ f"``<a:{ _emoji .name } :{ _emoji .id } >``"
238
+ if _emoji .animated
239
+ else f"``<:{ _emoji .name } :{ _emoji .id } >``"
240
+ ),
235
241
description = "" .join (
236
242
[
237
243
f"[Emoji link]({ url } )\n " ,
@@ -315,9 +321,9 @@ async def steal(
315
321
316
322
_io = (io .BytesIO (await resp .read ())).read ()
317
323
image = interactions .File (
318
- file_name = "unknown.gif"
319
- if emote .animated
320
- else "unknown.png" ,
324
+ file_name = (
325
+ "unknown.gif" if emote .animated else "unknown.png"
326
+ ) ,
321
327
file = _io ,
322
328
)
323
329
try :
@@ -362,9 +368,11 @@ async def steal(
362
368
363
369
_io = (io .BytesIO (await resp .read ())).read ()
364
370
image = interactions .File (
365
- file_name = "unknown.gif"
366
- if str (resp .content_type ) == "image/gif"
367
- else "unknown.png" ,
371
+ file_name = (
372
+ "unknown.gif"
373
+ if str (resp .content_type ) == "image/gif"
374
+ else "unknown.png"
375
+ ),
368
376
file = _io ,
369
377
)
370
378
try :
@@ -474,9 +482,11 @@ async def add(
474
482
_io = (io .BytesIO (await resp .read ())).read ()
475
483
image = interactions .File (
476
484
file = _io ,
477
- file_name = "unknown.gif"
478
- if resp .content_type == "image/gif"
479
- else "unknown.png" ,
485
+ file_name = (
486
+ "unknown.gif"
487
+ if resp .content_type == "image/gif"
488
+ else "unknown.png"
489
+ ),
480
490
)
481
491
try :
482
492
e = await ctx .guild .create_custom_emoji (
@@ -522,9 +532,11 @@ async def add(
522
532
_io = (io .BytesIO (await resp .read ())).read ()
523
533
image = interactions .File (
524
534
file = _io ,
525
- file_name = "unknown.gif"
526
- if resp .content_type == "image/gif"
527
- else "unknown.png" ,
535
+ file_name = (
536
+ "unknown.gif"
537
+ if resp .content_type == "image/gif"
538
+ else "unknown.png"
539
+ ),
528
540
)
529
541
try :
530
542
e = await ctx .guild .create_custom_emoji (
0 commit comments