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

Stopped source link expanding when posted, v0.4.1

This commit is contained in:
Zac Herd 2016-03-30 22:59:51 +01:00
parent e05b3f5286
commit ed009052a6

4
bot.py
View File

@ -22,7 +22,7 @@ from secret import email,pwd
name = "Maki" name = "Maki"
# bot version # bot version
version = "v0.4" version = "v0.4.1"
# 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
@ -102,7 +102,7 @@ def on_message(message):
elif message.content.startswith('.source'): elif message.content.startswith('.source'):
# link to source code # link to source code
yield from client.send_message(message.channel, 'These are my insides: http://27b-a.xyz/mrdetonia/Maki') yield from client.send_message(message.channel, 'These are my insides: <http://27b-a.xyz/mrdetonia/Maki>')
elif message.content.startswith('.die') and message.author.id in admins: elif message.content.startswith('.die') and message.author.id in admins:
# exit discord and kill bot # exit discord and kill bot