Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elif message.content.startswith(cmdPrefix+"help"):
- if(message.author.bot): #To prevent the bot (and other bots) from reading the message as a command.
- return False #Ignore rest of 'elif statement'
- await client.send_message(message.channel, "Type $help to use this command.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement