File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -857,11 +857,11 @@ async def blocked(self, ctx):
857
857
pass
858
858
859
859
if users :
860
- em = embeds [- 1 ]
860
+ embed = embeds [- 1 ]
861
861
862
862
for mention , reason in users :
863
863
line = mention + f" - `{ reason or 'No reason provided' } `\n "
864
- if len (em .description ) + len (line ) > 2048 :
864
+ if len (embed .description ) + len (line ) > 2048 :
865
865
embeds .append (
866
866
discord .Embed (
867
867
title = "Blocked Users (Continued)" ,
@@ -870,7 +870,7 @@ async def blocked(self, ctx):
870
870
)
871
871
)
872
872
else :
873
- em .description += line
873
+ embed .description += line
874
874
else :
875
875
embeds [- 1 ].description = "Currently there are no blocked users."
876
876
Original file line number Diff line number Diff line change @@ -311,8 +311,8 @@ async def sponsors(self, ctx):
311
311
embeds = []
312
312
313
313
for elem in data :
314
- em = Embed .from_dict (elem ["embed" ])
315
- embeds .append (em )
314
+ embed = Embed .from_dict (elem ["embed" ])
315
+ embeds .append (embed )
316
316
317
317
random .shuffle (embeds )
318
318
Original file line number Diff line number Diff line change 178
178
"title" : " Get Stats" ,
179
179
"icon_url" : " https://image.flaticon.com/icons/png/512/117/117761.png" ,
180
180
"thumbnail_url" : " http://www.pngmart.com/files/7/Statistics-PNG-Clipart.png"
181
- }
181
+ },
182
+ "moderation" : {
183
+ "repository" : " xPolar/modmail-plugins" ,
184
+ "branch" : " master" ,
185
+ "description" : " Moderate your server with Modmail, bring the Mod to Modmail!" ,
186
+ "bot_version" : " 3.0.3" ,
187
+ "title" : " Moderate your server" ,
188
+ "icon_url" : " https://cdn.discordapp.com/attachments/539943767562780704/601485194196680704/wGFmzZq.png" ,
189
+ "thumbnail_url" : " https://cdn.discordapp.com/attachments/539943767562780704/601485194196680704/wGFmzZq.png"
190
+ }
182
191
}
You can’t perform that action at this time.
0 commit comments