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:
parent
0c552f4e28
commit
6528eace6e
@ -3,7 +3,7 @@ var js = function(dbot) {
|
||||
|
||||
var commands = {
|
||||
'~js': function(data, params) {
|
||||
var q = data.message.valMatch(/^~js ([\d\w\s]\+*)/, 2);
|
||||
var q = data.message.valMatch(/^~js (.*)/, 2);
|
||||
dbot.say(data.channel, eval(q[1]));
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user