File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -906,22 +906,21 @@ async def blocked(self, ctx):
906906 pass
907907
908908 if users :
909- embed = embeds [- 1 ]
909+ embed = embeds [0 ]
910910
911911 for mention , reason in users :
912912 line = mention + f" - `{ reason or 'No reason provided' } `\n "
913913 if len (embed .description ) + len (line ) > 2048 :
914- embeds .append (
915- discord .Embed (
914+ embed = discord .Embed (
916915 title = "Blocked Users (Continued)" ,
917916 color = self .bot .main_color ,
918917 description = line ,
919918 )
920- )
919+ embeds . append ( embed )
921920 else :
922921 embed .description += line
923922 else :
924- embeds [- 1 ].description = "Currently there are no blocked users."
923+ embeds [0 ].description = "Currently there are no blocked users."
925924
926925 session = EmbedPaginatorSession (ctx , * embeds )
927926 await session .run ()
You can’t perform that action at this time.
0 commit comments