1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-30 15:04:18 +00:00

Add !shuffle

This commit is contained in:
Steffo 2018-06-04 18:44:00 +02:00
parent 59b19c2e15
commit 43487b125f

View file

@ -218,6 +218,10 @@ async def on_message(message: discord.Message):
await cmd_queue(channel=message.channel, await cmd_queue(channel=message.channel,
author=message.author, author=message.author,
params=message.content.split(" ")) 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"): elif message.content.startswith("!cast"):
try: try:
spell = message.content.split(" ", 1)[1] spell = message.content.split(" ", 1)[1]