1
0
mirror of https://github.com/MrDetonia/Maki.git synced 2024-11-22 11:54:16 -05:00

Removed .bots and .version, replaced with .info, v0.11.1

This commit is contained in:
Zac Herd 2016-04-08 19:16:31 +01:00
parent 9d89b6b353
commit 2c0ccf4d3f

7
bot.py
View File

@ -25,7 +25,7 @@ from secret import email,pwd
name = "Maki"
# bot version
version = "v0.11.0"
version = "v0.11.1"
# text shown by .help command
helptext = """I am a bot written in Python by MrDetonia
@ -33,8 +33,7 @@ helptext = """I am a bot written in Python by MrDetonia
My commands are:
```
.help - displays this text
.bots - prints bot info
.version - prints bot info
.info - prints bot info
.upskirt - show a link to my source
.whoami - displays your user info
.whois <user> - displays another user's info
@ -183,7 +182,7 @@ def on_message(message):
json.dump(tells, fp)
# parse messages for commands
if message.content.startswith('.bots') or message.content.startswith('.version'):
if message.content.startswith('.info'):
# print bot info
response = 'I am ' + name + ', a Discord bot by MrDetonia | ' + version + ' | Python 3.4 | discord.py ' + discord.__version__