Files
SupportBot/Structures/Event.js
T

20 lines
414 B
JavaScript
Raw Permalink 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");
const supportbot = yaml.load(fs.readFileSync("./Data/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;