@@ -157,9 +157,11 @@ async def info(self, ctx: interactions.SlashContext, emoji: str) -> None:
157
157
158
158
image = interactions .EmbedAttachment (url = _url )
159
159
embed = interactions .Embed (
160
- title = f"``<a:{ emote .name } :{ emote .id } >``"
161
- if emote .animated
162
- else f"``<:{ emote .name } :{ emote .id } >``" ,
160
+ title = (
161
+ f"``<a:{ emote .name } :{ emote .id } >``"
162
+ if emote .animated
163
+ else f"``<:{ emote .name } :{ emote .id } >``"
164
+ ),
163
165
description = "" .join (
164
166
[
165
167
f"[Emoji link]({ _url } )\n " ,
@@ -199,9 +201,11 @@ async def info(self, ctx: interactions.SlashContext, emoji: str) -> None:
199
201
)
200
202
image = interactions .EmbedAttachment (url = url )
201
203
embed = interactions .Embed (
202
- title = f"``<a:{ _emoji .name } :{ _emoji .id } >``"
203
- if _emoji .animated
204
- else f"``<:{ _emoji .name } :{ _emoji .id } >``" ,
204
+ title = (
205
+ f"``<a:{ _emoji .name } :{ _emoji .id } >``"
206
+ if _emoji .animated
207
+ else f"``<:{ _emoji .name } :{ _emoji .id } >``"
208
+ ),
205
209
description = "" .join (
206
210
[
207
211
f"[Emoji link]({ url } )\n " ,
@@ -241,9 +245,11 @@ async def info(self, ctx: interactions.SlashContext, emoji: str) -> None:
241
245
)
242
246
image = interactions .EmbedAttachment (url = url )
243
247
embed = interactions .Embed (
244
- title = f"``<a:{ _emoji .name } :{ _emoji .id } >``"
245
- if _emoji .animated
246
- else f"``<:{ _emoji .name } :{ _emoji .id } >``" ,
248
+ title = (
249
+ f"``<a:{ _emoji .name } :{ _emoji .id } >``"
250
+ if _emoji .animated
251
+ else f"``<:{ _emoji .name } :{ _emoji .id } >``"
252
+ ),
247
253
description = "" .join (
248
254
[
249
255
f"[Emoji link]({ url } )\n " ,
@@ -327,9 +333,9 @@ async def steal(
327
333
328
334
_io = (io .BytesIO (await resp .read ())).read ()
329
335
image = interactions .File (
330
- file_name = "unknown.gif"
331
- if emote .animated
332
- else "unknown.png" ,
336
+ file_name = (
337
+ "unknown.gif" if emote .animated else "unknown.png"
338
+ ) ,
333
339
file = _io ,
334
340
)
335
341
try :
@@ -374,9 +380,11 @@ async def steal(
374
380
375
381
_io = (io .BytesIO (await resp .read ())).read ()
376
382
image = interactions .File (
377
- file_name = "unknown.gif"
378
- if str (resp .content_type ) == "image/gif"
379
- else "unknown.png" ,
383
+ file_name = (
384
+ "unknown.gif"
385
+ if str (resp .content_type ) == "image/gif"
386
+ else "unknown.png"
387
+ ),
380
388
file = _io ,
381
389
)
382
390
try :
@@ -486,9 +494,11 @@ async def add(
486
494
_io = (io .BytesIO (await resp .read ())).read ()
487
495
image = interactions .File (
488
496
file = _io ,
489
- file_name = "unknown.gif"
490
- if resp .content_type == "image/gif"
491
- else "unknown.png" ,
497
+ file_name = (
498
+ "unknown.gif"
499
+ if resp .content_type == "image/gif"
500
+ else "unknown.png"
501
+ ),
492
502
)
493
503
try :
494
504
e = await ctx .guild .create_custom_emoji (
@@ -534,9 +544,11 @@ async def add(
534
544
_io = (io .BytesIO (await resp .read ())).read ()
535
545
image = interactions .File (
536
546
file = _io ,
537
- file_name = "unknown.gif"
538
- if resp .content_type == "image/gif"
539
- else "unknown.png" ,
547
+ file_name = (
548
+ "unknown.gif"
549
+ if resp .content_type == "image/gif"
550
+ else "unknown.png"
551
+ ),
540
552
)
541
553
try :
542
554
e = await ctx .guild .create_custom_emoji (
@@ -675,9 +687,11 @@ async def user_get_emoji(
675
687
676
688
image = interactions .EmbedAttachment (url = _emoji .url )
677
689
embed = interactions .Embed (
678
- title = f"``<a:{ _emoji .name } :{ _emoji .id } >``"
679
- if _emoji .animated
680
- else f"``<:{ _emoji .name } :{ _emoji .id } >``" ,
690
+ title = (
691
+ f"``<a:{ _emoji .name } :{ _emoji .id } >``"
692
+ if _emoji .animated
693
+ else f"``<:{ _emoji .name } :{ _emoji .id } >``"
694
+ ),
681
695
description = "" .join (
682
696
[
683
697
f"[Emoji link]({ _emoji .url } )\n " ,
@@ -701,9 +715,11 @@ async def user_get_emoji(
701
715
702
716
image = interactions .EmbedAttachment (url = _emoji .url )
703
717
embed = interactions .Embed (
704
- title = f"``<a:{ _emoji .name } :{ _emoji .id } >``"
705
- if _emoji .animated
706
- else f"``<:{ _emoji .name } :{ _emoji .id } >``" ,
718
+ title = (
719
+ f"``<a:{ _emoji .name } :{ _emoji .id } >``"
720
+ if _emoji .animated
721
+ else f"``<:{ _emoji .name } :{ _emoji .id } >``"
722
+ ),
707
723
description = "" .join (
708
724
[
709
725
f"[Emoji link]({ _emoji .url } )\n " ,
0 commit comments