Remove custom calls
This commit is contained in:
parent
c2650ace52
commit
ff4eb301c6
|
@ -356,9 +356,6 @@ class HelpPaginator(Pages):
|
||||||
self.description = inspect.getdoc(cog)
|
self.description = inspect.getdoc(cog)
|
||||||
self.prefix = cleanup_prefix(ctx.bot, ctx.prefix)
|
self.prefix = cleanup_prefix(ctx.bot, ctx.prefix)
|
||||||
|
|
||||||
# no longer need the database
|
|
||||||
await ctx.release()
|
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -379,7 +376,6 @@ class HelpPaginator(Pages):
|
||||||
self.description = command.help or 'No help given.'
|
self.description = command.help or 'No help given.'
|
||||||
|
|
||||||
self.prefix = cleanup_prefix(ctx.bot, ctx.prefix)
|
self.prefix = cleanup_prefix(ctx.bot, ctx.prefix)
|
||||||
await ctx.release()
|
|
||||||
return self
|
return self
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -410,7 +406,6 @@ class HelpPaginator(Pages):
|
||||||
|
|
||||||
self = cls(ctx, nested_pages, per_page=1) # this forces the pagination session
|
self = cls(ctx, nested_pages, per_page=1) # this forces the pagination session
|
||||||
self.prefix = cleanup_prefix(ctx.bot, ctx.prefix)
|
self.prefix = cleanup_prefix(ctx.bot, ctx.prefix)
|
||||||
await ctx.release()
|
|
||||||
|
|
||||||
# swap the get_page implementation with one that supports our style of pagination
|
# swap the get_page implementation with one that supports our style of pagination
|
||||||
self.get_page = self.get_bot_page
|
self.get_page = self.get_bot_page
|
||||||
|
|
Loading…
Reference in a new issue