1
0
mirror of https://github.com/osmarks/autobotrobot synced 2025-01-09 15:10:27 +00:00

fix presence

This commit is contained in:
osmarks 2020-11-01 17:10:47 +00:00
parent a8ba54c711
commit 3eb8060004

View File

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