Преглед на файлове

Stopped source link expanding when posted, v0.4.1

master
Zac Herd преди 8 години
родител
ревизия
ed009052a6
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      bot.py

+ 2
- 2
bot.py Целия файл

@@ -22,7 +22,7 @@ from secret import email,pwd
name = "Maki"

# bot version
version = "v0.4"
version = "v0.4.1"

# text shown by .help command
helptext = """I am a bot written in Python by MrDetonia
@@ -102,7 +102,7 @@ def on_message(message):

elif message.content.startswith('.source'):
# 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:
# exit discord and kill bot


Loading…
Отказ
Запис