From: CMDR furrycat Date: Fri, 7 Oct 2016 09:08:35 +0000 (+0100) Subject: Imply private channel if telling me. X-Git-Url: http://git.furryclan.net/?a=commitdiff_plain;h=cff5e159d06a830ca810e534d53148f86071b48a;p=furrycat%2Fcatbot.git Imply private channel if telling me. --- 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)