import discord
from discord.ext import commands
token = "token"
bot = commands.Bot(command_prefix='-')
@bot.event
async def on_ready():
print('here')
@bot.command(pass_context=True)
async def hi(ctx):
await ctx.send('hi')
bot.run(token)