mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 20:22:39 +01:00
golem can train
This commit is contained in:
parent
8b87e7e512
commit
5037779070
@ -34,7 +34,7 @@ var drama = function(dbot) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
'~rtrain': function(data, params) {
|
'~rtrain': function(data, params) {
|
||||||
if(data.user == dbot.admin) {
|
if(data.user == dbot.admin || data.user == 'golem') {
|
||||||
var category = params[1];
|
var category = params[1];
|
||||||
params.splice(0, 2);
|
params.splice(0, 2);
|
||||||
var msg = params.join(' ');
|
var msg = params.join(' ');
|
||||||
|
Loading…
Reference in New Issue
Block a user