Advertisement
Guest User

Untitled

a guest
May 24th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. import discord
  2. import random
  3.  
  4.  
  5. class MyClient(discord.Client):
  6. async def on_ready(self):
  7. print('Logged in as')
  8. print(self.user.name)
  9. print(self.user.id)
  10. print('------')
  11.  
  12.  
  13. async def on_message(self, message):
  14.  
  15. n = 3
  16. # we do not want the bot to reply to itself
  17. if message.author.id == self.user.id:
  18. return
  19.  
  20. if message.content.startswith('!hello'):
  21. await message.channel.send('Iai fiote {0.author.mention} eh nois na fita mano '.format(message))
  22.  
  23. if message.content.startswith ('!droga'):
  24. print (n)
  25. await message.channel.send ('seguinde {0.author.mention} nois temo a seguinte lista de dorga !makoia !crarke !cocaina da boa pino de 20 '.format(message))
  26. n = 1
  27. print (n)
  28.  
  29. if message.content.startswith('!makoia') :
  30. print ('nigga')
  31. await message.channel.send('MAno makoia ta '+ str(random.randint(20, 50))+' real morô mlk'.format(message))
  32. n = 0
  33.  
  34. if message.content.startswith('!crarke'):
  35. print('nigga')
  36. await message.channel.send(
  37. 'crake e ' + str(random.randint(3, 10)) + ' a pedra kkkkk'.format(message))
  38.  
  39. if message.content.startswith('!cocaina'):
  40. print('nigga')
  41. await message.channel.send(
  42. 'manoi a cocaina n tem mais no estoke rçrçrçrçrçrç :((( ' .format(message))
  43.  
  44.  
  45. client = MyClient()
  46. client.run('NTgxNDk4MDk2ODUzMTg4NjM0.XOgd3g.Coc-Hilh7-w6l-eCZrFn0m_eO4c')
  47.  
  48. # if message.content.startswith('!MENSAGE'):
  49. # await message.channel.send('mensage2'.format(message))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement