Fixed paginator in book

release-1.0.0
DustyP 8 years ago
parent 12db8a520d
commit 4c52d9eafc

@ -296,7 +296,7 @@ class Book:
discord.TextChannel,
discord.ext.commands.Bot,
discord.Message]) -> None:
if pag == Paginator():
if pag == Paginator(ctx.bot):
raise RuntimeError('Cannot create a book out of an empty Paginator.')
self._pages = pag.process_pages()

Loading…
Cancel
Save