summaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
authorNatrixAeria <upezu@student.kit.edu>2020-10-15 19:04:27 +0200
committerNatrixAeria <upezu@student.kit.edu>2020-10-15 19:04:27 +0200
commit47562293ebb8cabc862509c9ba1d62d982bee3c1 (patch)
tree41f69ef6f89dacd2b277473de4abd56dccd65815 /bot.py
parent8883d72fedbb438b0fa14b1dae0405d6317f7e07 (diff)
Add channel size property to the shuffle command
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py5
1 files changed, 4 insertions, 1 deletions
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)