1
0
mirror of https://github.com/MrDetonia/Maki.git synced 2024-11-26 04:57:18 -05:00

v0.16.3 updated to use change_presence instead of change_status

This commit is contained in:
Zac Herd 2016-10-12 09:34:45 +00:00
parent 629aca11c7
commit e672513d33

4
bot.py
View File

@ -33,7 +33,7 @@ from secret import token
name = "Maki" name = "Maki"
# bot version # bot version
version = "v0.16.2" version = "v0.16.3"
# text shown by .help command # text shown by .help command
helptext = """I am a bot written in Python by MrDetonia helptext = """I am a bot written in Python by MrDetonia
@ -100,7 +100,7 @@ def on_ready():
# set "Now Playing" to print version # set "Now Playing" to print version
game = discord.Game(name = version) game = discord.Game(name = version)
yield from client.change_status(game, False) yield from client.change_presence(game=game)
# called when message received # called when message received
@client.event @client.event