|
@@ -45,6 +45,10 @@ class MyAnimeBot(discord.Client):
|
|
|
channel = message.channel
|
|
channel = message.channel
|
|
|
author = str('{0.author.mention}'.format(message))
|
|
author = str('{0.author.mention}'.format(message))
|
|
|
|
|
|
|
|
|
|
+ # Check input validity
|
|
|
|
|
+ if len(words) == 0:
|
|
|
|
|
+ return
|
|
|
|
|
+
|
|
|
# A user is trying to get help
|
|
# A user is trying to get help
|
|
|
if words[0] == globals.prefix:
|
|
if words[0] == globals.prefix:
|
|
|
if len(words) > 1:
|
|
if len(words) > 1:
|