(wip) reworking of the Message class; backported from v4
This commit is contained in:
parent
0e26450d8f
commit
0a16321259
15 changed files with 185 additions and 178 deletions
|
|
@ -59,7 +59,7 @@ def parselisten(msg):
|
|||
global LAST_SUBS
|
||||
|
||||
try:
|
||||
urls = re.findall("www.reddit.com(/\w/\w+/?)", msg.content)
|
||||
urls = re.findall("www.reddit.com(/\w/\w+/?)", msg.text)
|
||||
for url in urls:
|
||||
if msg.channel not in LAST_SUBS:
|
||||
LAST_SUBS[msg.channel] = list()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue