Fix reddit /r/foo trigger

This commit is contained in:
Brayden 2016-04-26 12:04:42 -07:00
parent f536395c91
commit 91404aa69f

View File

@ -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)