Skip to content

Commit

Permalink
Update ERLC.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeyUsersREC authored Dec 20, 2024
1 parent 6dba218 commit bd2be9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/ERLC.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ async def bans(self, ctx: commands.Context, username: typing.Optional[str], user
)

if len(embeds) > 1:
pages = [ pages.append(CustomPage(embeds=embeds[i], identifier=str(i+1))) for i in range(0, len(embeds) ]
pages = [ pages.append(CustomPage(embeds=embeds[i], identifier=str(i+1))) for i in range(0, len(embeds)-1) ]
paginator = SelectPagination(ctx.author.id, pages)
await ctx.send(embeds=pages[0].embeds, view=paginator.get_current_view())
return
Expand Down

0 comments on commit bd2be9d

Please sign in to comment.