Advertisement
Guest User

Untitled

a guest
May 20th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. import discord
  2. from discord.ext.commands import Bot
  3. from discord.ext import commands
  4. import asyncio
  5. import time
  6.  
  7.  
  8. Client = discord.Client()
  9. client = commands.Bot(command_prefix = '$')
  10.  
  11.  
  12.  
  13.  
  14. @client.event
  15. async def on_ready():
  16. print('Bot Is Ready')
  17.  
  18. @client.event
  19. async def on_message(message):
  20. if message.content == 'where are my cookies?':
  21. await client.send_message(message.channel, 'I do not know, I aint a Cookie Monster')
  22. @client.event
  23. async def on_message(message):
  24. if message.content == 'ur mom gay':
  25. await client.send_message(message.channel, 'ur dad lesbian')
  26.  
  27.  
  28.  
  29.  
  30. client.run('TOKEN')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement