Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import discord
- import random
- class MyClient(discord.Client):
- async def on_ready(self):
- print('Logged in as')
- print(self.user.name)
- print(self.user.id)
- print('------')
- async def on_message(self, message):
- n = 3
- # we do not want the bot to reply to itself
- if message.author.id == self.user.id:
- return
- if message.content.startswith('!hello'):
- await message.channel.send('Iai fiote {0.author.mention} eh nois na fita mano '.format(message))
- if message.content.startswith ('!droga'):
- print (n)
- 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))
- n = 1
- print (n)
- if message.content.startswith('!makoia') :
- print ('nigga')
- await message.channel.send('MAno makoia ta '+ str(random.randint(20, 50))+' real morô mlk'.format(message))
- n = 0
- if message.content.startswith('!crarke'):
- print('nigga')
- await message.channel.send(
- 'crake e ' + str(random.randint(3, 10)) + ' a pedra kkkkk'.format(message))
- if message.content.startswith('!cocaina'):
- print('nigga')
- await message.channel.send(
- 'manoi a cocaina n tem mais no estoke rçrçrçrçrçrç :((( ' .format(message))
- client = MyClient()
- client.run('NTgxNDk4MDk2ODUzMTg4NjM0.XOgd3g.Coc-Hilh7-w6l-eCZrFn0m_eO4c')
- # if message.content.startswith('!MENSAGE'):
- # await message.channel.send('mensage2'.format(message))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement