Fix reddit /r/foo trigger
This commit is contained in:
parent
f536395c91
commit
91404aa69f
@ -14,7 +14,7 @@ Aliases: /r, /r/[subreddit]
|
|||||||
```]]
|
```]]
|
||||||
|
|
||||||
function reddit:init()
|
function reddit:init()
|
||||||
reddit.triggers = utilities.triggers(self.info.username):t('reddit', true):t('r', true):t('r/', true).table
|
reddit.triggers = utilities.triggers(self.info.username, {'^/r/'}):t('reddit', true):t('r', true):t('r/', true).table
|
||||||
end
|
end
|
||||||
|
|
||||||
function reddit:action(msg)
|
function reddit:action(msg)
|
||||||
|
Reference in New Issue
Block a user