mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
Make it show the new key for the previous change
This commit is contained in:
parent
b9b5d9913d
commit
7124798398
@ -49,7 +49,7 @@ var quotes = function(dbot) {
|
|||||||
if(quotes.hasOwnProperty(key)) {
|
if(quotes.hasOwnProperty(key)) {
|
||||||
event.reply(key + ': ' + interpolatedQuote(key));
|
event.reply(key + ': ' + interpolatedQuote(key));
|
||||||
} else if(quotes.hasOwnProperty(altKey)) {
|
} else if(quotes.hasOwnProperty(altKey)) {
|
||||||
event.reply(key + ': ' + interpolatedQuote(altKey));
|
event.reply(altKey + ': ' + interpolatedQuote(altKey));
|
||||||
} else {
|
} else {
|
||||||
event.reply(dbot.t('category_not_found', {'category': key}));
|
event.reply(dbot.t('category_not_found', {'category': key}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user