Fix paginator.py typo

This commit is contained in:
Maxikinz 2021-10-09 21:00:58 +02:00 committed by GitHub
parent d06bfce837
commit f7398c9acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,7 +198,7 @@ async def paginate(
bot = Bot()
# To test our new function, let's create a list of a couple Embeds and send
# To test our new function, let's create a list of a couple Embeds and let our paginator deal with the sending and buttons
@bot.command()
async def sendpages(ctx):
page1 = Embed(description="This is page 1")
@ -206,5 +206,4 @@ async def sendpages(ctx):
page3 = Embed(description="This is page 3")
await paginate(ctx, [page1, page2, page3])
bot.run("token")