1
0
mirror of https://github.com/osmarks/autobotrobot synced 2024-11-05 00:06:17 +00:00

fix presence

This commit is contained in:
osmarks 2020-11-01 17:13:52 +00:00
parent 3eb8060004
commit 285301b212

View File

@ -206,7 +206,7 @@ async def andrew_bad(ctx):
async def on_ready():
logging.info("Connected as " + bot.user.name)
await bot.change_presence(status=discord.Status.online,
activity=discord.Activity(name=f"to {bot.command_prefix}help", type=discord.ActivityType.listening))
activity=discord.Activity(name=f"{bot.command_prefix}help", type=discord.ActivityType.listening))
async def run_bot():
bot.database = await db.init(config["database"])