Add playing message with help info

This commit is contained in:
Ske 2018-10-30 20:25:06 +01:00
parent 7636a48d14
commit ce319408a6

View File

@ -41,6 +41,10 @@ class PluralKitBot:
self.logger.info("- User ID: {}".format(self.client.user.id)) self.logger.info("- User ID: {}".format(self.client.user.id))
self.logger.info("- {} servers".format(len(self.client.servers))) 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): async def on_message(self, message):
# Ignore bot messages # Ignore bot messages
if message.author.bot: if message.author.bot: