added fetch to debugnamespace
This commit is contained in:
parent
323e51ece6
commit
4f17dda86a
|
@ -1,4 +1,5 @@
|
|||
import { admins, getLevel } from "../admin";
|
||||
import fetch from "../fetch";
|
||||
|
||||
import vm from "vm";
|
||||
|
||||
|
@ -7,6 +8,7 @@ let context = vm.createContext({
|
|||
e: null,
|
||||
bot: null,
|
||||
admins: null,
|
||||
fetch: fetch
|
||||
});
|
||||
export default bot => {
|
||||
bot._trigger.set("sandbox_debug", new bot.trigger({
|
||||
|
|
Loading…
Reference in New Issue
Block a user