fix capitalization problems

This commit is contained in:
topkecleon 2016-06-06 23:45:11 -04:00
parent 1de9e7f968
commit e60865d4a4
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ function chatter:action(msg, config)
--Uncomment the following line for Al Gore-like conversation.
--or (msg.reply_to_message and msg.reply_to_message.from.id == self.info.id)
)
or msg.text:match('^'..config.CMD_PAT)
or msg.text:match('^'..config.cmd_pat)
or msg.text == ''
) then
return true

View File

@ -7,7 +7,7 @@ shout.command = 'shout <text>'
function shout:init(config)
shout.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('shout', true).table
shout.doc = [[```
]]..config.CMD_PAT..[[shout <text>
]]..config.cmd_pat..[[shout <text>
Shouts something. Input may be the replied-to message.
```]]
end