From 130b9b80d119794bcb8094c150b7f3dc1b12e153 Mon Sep 17 00:00:00 2001 From: Zac Herd Date: Tue, 19 Apr 2016 16:28:01 +0100 Subject: [PATCH] Print who killed bot to STDOUT, v0.12.1 --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 2f98ab8..06aed50 100644 --- a/bot.py +++ b/bot.py @@ -27,7 +27,7 @@ from secret import email,pwd name = "Maki" # bot version -version = "v0.12.0" +version = "v0.12.1" # text shown by .help command helptext = """I am a bot written in Python by MrDetonia @@ -205,6 +205,7 @@ def on_message(message): elif message.content.startswith('.die'): if message.author.id in admins: # exit discord and kill bot + print('INFO: Accepting .die from ' + message.author.name) yield from client.send_message(message.channel, 'But will I dream? ;_;') yield from client.logout() else: