Advertisement
asgfasgafadf

send help

Feb 19th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import discord
  2. from discord.ext import commands
  3. import async
  4.  
  5. bots = command.Bot (">u")
  6.  
  7. @bot.event
  8. async def on_ready():
  9. print("Bot online")
  10.  
  11.  
  12.  
  13. @bot.command(pass_context=True)
  14. async def ping(ctx):
  15. await bot.say("pong")
  16.  
  17. @bot.command(pass_context=True)
  18. async def hello(ctx):
  19. await box.say("Hi :blush:")
  20.  
  21.  
  22. bot.run("token")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement