mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
lowercase banee name in quote cat
This commit is contained in:
parent
aefc605ecb
commit
ecfa6552a9
@ -57,7 +57,7 @@ var commands = function(dbot) {
|
|||||||
// TODO: When this is merged into database branch, have it use the
|
// TODO: When this is merged into database branch, have it use the
|
||||||
// api.quotes.addQuote function
|
// api.quotes.addQuote function
|
||||||
if(this.config.document_bans && _.has(dbot.modules, 'quotes')) {
|
if(this.config.document_bans && _.has(dbot.modules, 'quotes')) {
|
||||||
dbot.db.quoteArrs['ban_' + banee] = [ dbot.t('nban_quote', {
|
dbot.db.quoteArrs['ban_' + banee.toLowerCase()] = [ dbot.t('nban_quote', {
|
||||||
'banee': banee,
|
'banee': banee,
|
||||||
'banner': banner,
|
'banner': banner,
|
||||||
'time': new Date().toUTCString(),
|
'time': new Date().toUTCString(),
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"webHost": "nourishedcloud.com",
|
"webHost": "nourishedcloud.com",
|
||||||
"webPort": 8080,
|
"webPort": 9002,
|
||||||
"externalPath": false,
|
"externalPath": false,
|
||||||
"help": "https://github.com/reality/depressionbot/blob/master/modules/web/README.md"
|
"help": "https://github.com/reality/depressionbot/blob/master/modules/web/README.md"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user