add api keys global
This commit is contained in:
parent
ece00a9be4
commit
406e409a9f
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ const fs = require("fs");
|
||||||
const {resolve} = require("path");
|
const {resolve} = require("path");
|
||||||
|
|
||||||
const config = require("../config.json");
|
const config = require("../config.json");
|
||||||
|
const apikeys = require("../apikeys.json");
|
||||||
const Command = require("./lib/command.js");
|
const Command = require("./lib/command.js");
|
||||||
const CommandDispatcher = require("./lib/commandDispatcher.js");
|
const CommandDispatcher = require("./lib/commandDispatcher.js");
|
||||||
const events = require("./lib/events.js");
|
const events = require("./lib/events.js");
|
||||||
|
@ -32,6 +33,7 @@ function registerCommand(cmdObj) {
|
||||||
global.hf = {
|
global.hf = {
|
||||||
bot,
|
bot,
|
||||||
config,
|
config,
|
||||||
|
apikeys,
|
||||||
commands,
|
commands,
|
||||||
registerCommand,
|
registerCommand,
|
||||||
events,
|
events,
|
||||||
|
|
Loading…
Reference in a new issue