mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-15 10:10:12 +00:00
Add playing message with help info
This commit is contained in:
parent
7636a48d14
commit
ce319408a6
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue