added a helpful activity status

This commit is contained in:
NodeStorm 2020-08-15 23:35:02 +03:00 committed by GitHub
parent 84f1fc05f2
commit 5eab1393da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

4
bot.py
View File

@ -19,6 +19,10 @@ def get_prefix(client, message):
client = commands.Bot(command_prefix = get_prefix)
@client.event
async def on_ready():
await client.change_presence(activity=discord.Game(name="$help"))
@client.event
async def on_guild_join(guild):
print(dir(guild))