mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 06:19:24 +01:00
fix eat cheese for twistington
This commit is contained in:
parent
8b8400f437
commit
3ce44418e7
@ -16,7 +16,7 @@ var quotes = function(dbot) {
|
||||
var ref = this.internalAPI.cleanRef(quoteRefs[0].replace(/^~~/,'').replace(/~~$/,'').trim());
|
||||
if(ref === '-nicks-') {
|
||||
dbot.api.users.getRandomChannelUser(server, channel, function(user) {
|
||||
quote = quote.replace('~~' + ref + '~~', randomNick);
|
||||
quote = quote.replace('~~' + ref + '~~', user.currentNick);
|
||||
this.internalAPI.interpolatedQuote(server, channel, key, quote, callback);
|
||||
}.bind(this));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user