Fix paginator.py typo
This commit is contained in:
parent
d06bfce837
commit
f7398c9acd
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user