Advertisement
nett18

User log bot command template

Jun 23rd, 2018
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. elif message.content.startswith(cmdPrefix+"help"):
  2.     if(message.author.bot): #To prevent the bot (and other bots) from reading the message as a command.
  3.         return False #Ignore rest of 'elif statement'
  4.     await client.send_message(message.channel, "Type $help to use this command.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement