added bots activity to "!help"
This commit is contained in:
parent
173a5a1578
commit
9ae4270e04
1 changed files with 3 additions and 1 deletions
4
main.py
4
main.py
|
@ -44,10 +44,12 @@ def get_dog():
|
||||||
dog.set_image(url = res['message'])
|
dog.set_image(url = res['message'])
|
||||||
return dog
|
return dog
|
||||||
|
|
||||||
# when bot is ready
|
## BOT READY
|
||||||
@client.event # Register an event
|
@client.event # Register an event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
print('We have logged in as {0.user}'.format(client))
|
print('We have logged in as {0.user}'.format(client))
|
||||||
|
activity = discord.Game(name = "!help") # sets bot activity
|
||||||
|
await client.change_presence(status = discord.Status.online, activity = activity)
|
||||||
|
|
||||||
|
|
||||||
## MESSAGE RESPONSES
|
## MESSAGE RESPONSES
|
||||||
|
|
Loading…
Reference in a new issue