Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import discord
- from discord.ext import commands
- import async
- bots = command.Bot (">u")
- @bot.event
- async def on_ready():
- print("Bot online")
- @bot.command(pass_context=True)
- async def ping(ctx):
- await bot.say("pong")
- @bot.command(pass_context=True)
- async def hello(ctx):
- await box.say("Hi :blush:")
- bot.run("token")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement