f0ck it
This commit is contained in:
parent
a0cf04a326
commit
b32d5e8a5c
|
@ -2,7 +2,7 @@ const util = require('util');
|
|||
const vm = require('vm');
|
||||
|
||||
module.exports = (lib) => {
|
||||
const sandbox = {
|
||||
var sandbox = {
|
||||
bot: lib.bot,
|
||||
output: "nothing",
|
||||
e: null
|
||||
|
@ -10,11 +10,11 @@ module.exports = (lib) => {
|
|||
|
||||
lib.trigger.add({
|
||||
name: 'bot debug',
|
||||
call: /^!bot (.*)/i,
|
||||
call: /^\!bot (.*)/i,
|
||||
level: 100,
|
||||
active: 1,
|
||||
func: (e) => {
|
||||
var args = e.message.match(/^!bot (.*?)/i)[1];
|
||||
var args = e.message.match(/^\!bot (.*)/i)[1];
|
||||
e.reply(args);
|
||||
sandbox.e = e;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user