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