From ce319408a6e83dbc51f9da77c7bd1c51bc17d190 Mon Sep 17 00:00:00 2001 From: Ske Date: Tue, 30 Oct 2018 20:25:06 +0100 Subject: [PATCH] Add playing message with help info --- src/pluralkit/bot/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pluralkit/bot/__init__.py b/src/pluralkit/bot/__init__.py index 3a432e83..8aa25391 100644 --- a/src/pluralkit/bot/__init__.py +++ b/src/pluralkit/bot/__init__.py @@ -41,6 +41,10 @@ class PluralKitBot: self.logger.info("- User ID: {}".format(self.client.user.id)) self.logger.info("- {} servers".format(len(self.client.servers))) + # Set playing message + # TODO: change this when merging rewrite-port branch, kwarg game -> activity + await self.client.change_presence(game=discord.Game(name="pk;help")) + async def on_message(self, message): # Ignore bot messages if message.author.bot: