Files
SupportBot-Dashboard/Structures/Event.js
T

22 lines
421 B
JavaScript
Raw Normal View History

2021-10-04 20:41:05 +01:00
// SupportBot | Emerald Services
// Event Structure
const fs = require("fs");
const Discord = require("discord.js");
2021-10-24 22:41:46 +01:00
const yaml = require("js-yaml");
2021-10-27 19:30:10 -05:00
const supportbot = yaml.load(
fs.readFileSync("./Configs/supportbot.yml", "utf8")
);
2021-10-04 20:41:05 +01:00
function RunFunction(client, ...eventArgs) {}
class Event {
2021-10-24 22:41:46 +01:00
constructor(event, runFunction) {
this.event = event;
this.run = runFunction;
}
2021-10-04 20:41:05 +01:00
}
2021-10-24 22:41:46 +01:00
module.exports = Event;