From c4d12c0d4dfc91819b4e0d4e881ac75c1300cfa1 Mon Sep 17 00:00:00 2001 From: Zac Herd Date: Mon, 4 Apr 2016 13:23:50 +0100 Subject: [PATCH] Maki now 'types' markov messages, v0.10.7 --- bot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 515c877..b741450 100644 --- a/bot.py +++ b/bot.py @@ -25,7 +25,7 @@ from secret import email,pwd name = "Maki" # bot version -version = "v0.10.6" +version = "v0.10.7" # text shown by .help command helptext = """I am a bot written in Python by MrDetonia @@ -265,6 +265,9 @@ def on_message(message): response = message.content[5:] elif message.content.startswith('.markov'): + # send typing signal to discord + yield from client.send_typing(message.channel) + # generate a markov chain sentence based on the user's chat history tmp = message.content[8:] if tmp in users and os.path.isfile('./markovs/' + users[tmp]):