add api keys global

This commit is contained in:
Cynthia Foxwell 2021-06-10 21:54:38 -06:00
parent ece00a9be4
commit 406e409a9f

View file

@ -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,