diff --git a/Structures/Event.js b/Structures/Event.js index 61e4381..d644b72 100644 --- a/Structures/Event.js +++ b/Structures/Event.js @@ -1,21 +1,9 @@ // SupportBot | Emerald Services // Event Structure - -const fs = require("fs"); - -const Discord = require("discord.js"); - -const yaml = require("js-yaml"); -const supportbot = yaml.load( - fs.readFileSync("./Configs/supportbot.yml", "utf8") -); - -function RunFunction(client, ...eventArgs) {} - class Event { - constructor(event, runFunction) { + constructor(event, run) { this.event = event; - this.run = runFunction; + this.run = run; } }