forked from GitHub/dbot
Derp. Had 'tirm' instead of 'trim'.
This commit is contained in:
parent
35679ac19e
commit
0784e2c5be
2
run.js
2
run.js
@ -100,7 +100,7 @@ DBot.prototype.reloadModules = function() {
|
||||
} else {
|
||||
var q = data.message.valMatch(/^~([\d\w\s]*)/, 2);
|
||||
if(q) {
|
||||
q[1] = q[1].tirm();
|
||||
q[1] = q[1].trim();
|
||||
key = q[1].toLowerCase();
|
||||
if(this.db.quoteArrs.hasOwnProperty(key)) {
|
||||
this.say(data.channel, q[1] + ': ' + this.db.quoteArrs[key].random());
|
||||
|
Loading…
Reference in New Issue
Block a user