git://git.furryclan.net
/
furrycat
/
catbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be95587
)
Imply private channel if telling me.
author
CMDR furrycat
<elite@furrycat.net>
Fri, 7 Oct 2016 09:08:35 +0000
(10:08 +0100)
committer
CMDR furrycat
<elite@furrycat.net>
Fri, 7 Oct 2016 09:08:35 +0000
(10:08 +0100)
bot.py
patch
|
blob
|
history
diff --git
a/bot.py
b/bot.py
index
2fbafb0
..
86b1f66
100755
(executable)
--- 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)