From ff4eb301c6dc2072118bcb7e48feed316f6ff608 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Thu, 4 Oct 2018 14:36:01 -0500 Subject: [PATCH] Remove custom calls --- cogs/utils/paginator.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cogs/utils/paginator.py b/cogs/utils/paginator.py index 922b924..6861f14 100644 --- a/cogs/utils/paginator.py +++ b/cogs/utils/paginator.py @@ -356,9 +356,6 @@ class HelpPaginator(Pages): self.description = inspect.getdoc(cog) self.prefix = cleanup_prefix(ctx.bot, ctx.prefix) - # no longer need the database - await ctx.release() - return self @classmethod @@ -379,7 +376,6 @@ class HelpPaginator(Pages): self.description = command.help or 'No help given.' self.prefix = cleanup_prefix(ctx.bot, ctx.prefix) - await ctx.release() return self @classmethod @@ -410,7 +406,6 @@ class HelpPaginator(Pages): self = cls(ctx, nested_pages, per_page=1) # this forces the pagination session self.prefix = cleanup_prefix(ctx.bot, ctx.prefix) - await ctx.release() # swap the get_page implementation with one that supports our style of pagination self.get_page = self.get_bot_page