muh
This commit is contained in:
		@@ -2,12 +2,12 @@ var safeEval = require('safe-eval');
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
module.exports = (lib) => {
 | 
					module.exports = (lib) => {
 | 
				
			||||||
  lib.trigger.add({
 | 
					  lib.trigger.add({
 | 
				
			||||||
    name: 'bot debug',
 | 
					    name: 'sandbox',
 | 
				
			||||||
    call: /^\!bot (.*)/i,
 | 
					    call: /^\!js (.*)/i,
 | 
				
			||||||
    level: 100,
 | 
					    level: 100,
 | 
				
			||||||
    active: 1,
 | 
					    active: 1,
 | 
				
			||||||
    func: (e) => {
 | 
					    func: (e) => {
 | 
				
			||||||
      var args = e.message.match(/^\!bot (.*)/i)[1];
 | 
					      var args = e.message.match(/^\!js (.*)/i)[1];
 | 
				
			||||||
      var context = {
 | 
					      var context = {
 | 
				
			||||||
        bot: lib.bot,
 | 
					        bot: lib.bot,
 | 
				
			||||||
        e: e
 | 
					        e: e
 | 
				
			||||||
@@ -21,6 +21,6 @@ module.exports = (lib) => {
 | 
				
			|||||||
        e.reply('f0ck you!');
 | 
					        e.reply('f0ck you!');
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    desc: 'bot debug'
 | 
					    desc: 'sandbox'
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
		Reference in New Issue
	
	Block a user