From 43487b125fb771188a1c3c8a2ec687daf2710418 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 4 Jun 2018 18:44:00 +0200 Subject: [PATCH] Add !shuffle --- discordbot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/discordbot.py b/discordbot.py index 19d51322..9c5f7268 100644 --- a/discordbot.py +++ b/discordbot.py @@ -218,6 +218,10 @@ async def on_message(message: discord.Message): await cmd_queue(channel=message.channel, author=message.author, params=message.content.split(" ")) + elif message.content.startswith("!shuffle"): + await cmd_shuffle(channel=message.channel, + author=message.author, + params=message.content.split(" ")) elif message.content.startswith("!cast"): try: spell = message.content.split(" ", 1)[1]