From cff5e159d06a830ca810e534d53148f86071b48a Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Fri, 7 Oct 2016 10:08:35 +0100 Subject: [PATCH] Imply private channel if telling me. --- bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot.py b/bot.py index 2fbafb0..86b1f66 100755 --- a/bot.py +++ b/bot.py @@ -935,6 +935,8 @@ def create_announcement(message, raw): elif arg == 'tell': if param == 'me': create['mention'] = message.author.id + if 'channel_id' not in create: + create['channel_id'] = 'private' ok = True else: m = re.match(r'<@((?:&?|#)\d+)>', param) -- 2.7.4