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):
857857 pass
858858
859859 if users :
860- em = embeds [- 1 ]
860+ embed = embeds [- 1 ]
861861
862862 for mention , reason in users :
863863 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 :
865865 embeds .append (
866866 discord .Embed (
867867 title = "Blocked Users (Continued)" ,
@@ -870,7 +870,7 @@ async def blocked(self, ctx):
870870 )
871871 )
872872 else :
873- em .description += line
873+ embed .description += line
874874 else :
875875 embeds [- 1 ].description = "Currently there are no blocked users."
876876
Original file line number Diff line number Diff line change @@ -311,8 +311,8 @@ async def sponsors(self, ctx):
311311 embeds = []
312312
313313 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 )
316316
317317 random .shuffle (embeds )
318318
Original file line number Diff line number Diff line change 178178 "title" : " Get Stats" ,
179179 "icon_url" : " https://image.flaticon.com/icons/png/512/117/117761.png" ,
180180 "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+ }
182191}
You can’t perform that action at this time.
0 commit comments