Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.64 KB | None | 0 0
  1. import discord
  2. import asyncio
  3. from discord.ext.commands import Bot
  4. from discord.ext import commands
  5.  
  6. #dyno enabled!
  7.  
  8. # maddie sux bot
  9. # a shamelessly bad discord application by a friend
  10.  
  11. TOKEN = 'pretend this is the token!'
  12. bot = commands.Bot(command_prefix='!', description='MADDIE SUX')
  13.  
  14. @bot.event
  15. async def on_ready():
  16.     print('wow, we're running!')
  17.  
  18. @bot.event
  19. async def on_message(message):
  20.     if str(message.author.name.lower() == 'aptitude'): 
  21.         await bot.say(message.channel, "aptitude sucks")
  22.  
  23. @bot.command()
  24. async def durham(ctx):
  25.    await bot.say("this is the part where I upload a picture of durham")
  26. bot.run(TOKEN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement