From 51205c31bc4d9fd79de81d832dbc005e4f53ca32 Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 21 Oct 2017 16:42:32 -0400 Subject: [PATCH] Changed internal methods to use leading underscores --- src/main/cogs/booru.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/cogs/booru.py b/src/main/cogs/booru.py index aa4dbb2..a87c92c 100644 --- a/src/main/cogs/booru.py +++ b/src/main/cogs/booru.py @@ -459,7 +459,7 @@ class MsG: await ctx.send('**Already auto-qualitifying in {}.** Type `stop` to stop.'.format(ctx.channel.mention), delete_after=10) await ctx.message.add_reaction('\N{CROSS MARK}') - def get_favorites(self, ctx, args): + def _get_favorites(self, ctx, args): if '-f' in args or '-favs' in args or '-faves' in args or '-favorites' in args: if self.favorites.get(ctx.author.id, {}).get('tags', set()): args = ['~{}'.format(tag) for tag in self.favorites[ctx.author.id]['tags']] @@ -468,7 +468,7 @@ class MsG: return args - async def return_pool(self, ctx, *, booru='e621', query=[]): + async def _get_pool(self, ctx, *, booru='e621', query=[]): def on_message(msg): if msg.content.lower() == 'cancel' and msg.author is ctx.author and msg.channel is ctx.channel: raise exc.Abort