From 47562293ebb8cabc862509c9ba1d62d982bee3c1 Mon Sep 17 00:00:00 2001 From: NatrixAeria Date: Thu, 15 Oct 2020 19:04:27 +0200 Subject: Add channel size property to the shuffle command --- bot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bot.py') diff --git a/bot.py b/bot.py index 6d8ad9a..7b6e925 100644 --- a/bot.py +++ b/bot.py @@ -77,6 +77,9 @@ class Cupido(commands.Bot): except discord.errors.NotFound: return False + async def send_panel(self, ctx, user): + pass + async def destroy_pair_channels(self, ctx, meta_channel): await await_n(map(self.try_delete_channel, self.get_pair_channels_no_cache(ctx, meta_channel))) self.pair_channels = [] @@ -102,7 +105,7 @@ def main(): if token is None: print('error: no token was given') exit(1) - bot = Cupido(activity=discord.Game(name=config.GAME_STATUS), command_prefix=config.COMMAND_PREFIX) + bot = Cupido(activity=discord.Game(name=config.GAME_STATUS), command_prefix=config.COMMAND_PREFIX, case_insensitive=True) bot.remove_command('help') for cmd in bot_commands: bot.add_command(cmd) -- cgit v1.2.3-70-g09d2