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:
b16afa0
)
Inverted logic.
author
CMDR furrycat
<elite@furrycat.net>
Sat, 1 Oct 2016 19:12:56 +0000
(20:12 +0100)
committer
CMDR furrycat
<elite@furrycat.net>
Sat, 1 Oct 2016 19:12:56 +0000
(20:12 +0100)
bot.py
patch
|
blob
|
history
diff --git
a/bot.py
b/bot.py
index
e048fef
..
e0f4e10
100755
(executable)
--- a/
bot.py
+++ b/
bot.py
@@
-290,7
+290,7
@@
def do_commands(message, command, raw, non_admin):
url = None
m = re.match(r'\bbling\s+(\S+)', raw.lower())
filename = message.author.name
- mentions = [message.author.mention] if message.channel.is_private else None
+ mentions = [message.author.mention] if
not
message.channel.is_private else None
if m is not None:
url = m.group(1)
m = re.match(r'<@(!?\d+)>', url)