mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
Not sure what the hell is up with this package
This commit is contained in:
parent
c20e5b61f2
commit
d5ef51e506
@ -1,8 +1,9 @@
|
|||||||
var vm = require('vm');
|
var vm = require('vm');
|
||||||
var s = require('sandbox')();
|
var sbox = require('sandbox');
|
||||||
|
|
||||||
var js = function(dbot) {
|
var js = function(dbot) {
|
||||||
var dbot = dbot;
|
var dbot = dbot;
|
||||||
|
var s = new sbox();
|
||||||
|
|
||||||
var commands = {
|
var commands = {
|
||||||
'~js': function(data, params) {
|
'~js': function(data, params) {
|
||||||
|
Loading…
Reference in New Issue
Block a user