From 975648a9263e4d163e1eaeaee394c158b2fb2018 Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Thu, 30 Aug 2018 12:31:15 -0500 Subject: [PATCH] Default status now controlled by config again --- geoffrey/bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geoffrey/bot.py b/geoffrey/bot.py index 6939faf..312cc88 100644 --- a/geoffrey/bot.py +++ b/geoffrey/bot.py @@ -45,6 +45,7 @@ class GeoffreyBot(commands.Bot): self.admin_users = config.bot_mod self.special_users = config.special_name_list self.bot_commands = Commands(config) + self.default_status = config.status for extension in extensions: try: @@ -58,7 +59,7 @@ class GeoffreyBot(commands.Bot): info = await self.application_info() url = oauth_url(info.id) logger.info("Bot url: %s", url) - await self.change_presence(game=Game(name="Geoffrey")) + await self.change_presence(game=Game(name=self.default_status)) async def on_command(self, command, ctx): if ctx.invoked_subcommand is None: