3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

qadd reality ban

This commit is contained in:
Luke Slater 2011-10-12 16:50:47 +01:00
parent b76f3ff70c
commit a450d357d1

View File

@ -4,7 +4,7 @@ var js = function(dbot) {
var commands = {
'~js': function(data, params) {
var q = data.message.valMatch(/^~js ([\d\w\s]*)/, 2);
console.log(q[1]);
console.log(q);
dbot.say(data.channel, eval(q[1]));
}
};