mirror of
https://github.com/osmarks/autobotrobot
synced 2024-11-05 00:06:17 +00:00
fix presence
This commit is contained in:
parent
3eb8060004
commit
285301b212
@ -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"])
|
||||
|
Loading…
Reference in New Issue
Block a user