Fix requested changes
Some checks failed
Test / build (push) Failing after 2m28s

This commit is contained in:
Ethan Lane 2024-05-15 17:55:17 +01:00
parent facdf066a1
commit 25d099928f
2 changed files with 0 additions and 11 deletions

View file

@ -4,8 +4,6 @@ import { IntentsBitField } from "discord.js";
import Registry from "./registry"; import Registry from "./registry";
import { existsSync } from "fs"; import { existsSync } from "fs";
import { ExecException, exec } from "child_process"; import { ExecException, exec } from "child_process";
import TimerHelper from "./helpers/TimerHelper";
import GiveCurrency from "./timers/GiveCurrency";
dotenv.config(); dotenv.config();
@ -39,7 +37,6 @@ const client = new CoreClient([
]); ]);
Registry.RegisterCommands(); Registry.RegisterCommands();
Registry.RegisterEvents();
Registry.RegisterButtonEvents(); Registry.RegisterButtonEvents();
if (!existsSync(`${process.env.DATA_DIR}/cards`) && process.env.GDRIVESYNC_AUTO && process.env.GDRIVESYNC_AUTO == "true") { if (!existsSync(`${process.env.DATA_DIR}/cards`) && process.env.GDRIVESYNC_AUTO && process.env.GDRIVESYNC_AUTO == "true") {

View file

@ -41,10 +41,6 @@ export default class Registry {
CoreClient.RegisterCommand("droprarity", new Droprarity(), Environment.Test); CoreClient.RegisterCommand("droprarity", new Droprarity(), Environment.Test);
} }
public static RegisterEvents() {
}
public static RegisterButtonEvents() { public static RegisterButtonEvents() {
CoreClient.RegisterButtonEvent("claim", new Claim()); CoreClient.RegisterButtonEvent("claim", new Claim());
CoreClient.RegisterButtonEvent("inventory", new InventoryButtonEvent()); CoreClient.RegisterButtonEvent("inventory", new InventoryButtonEvent());
@ -52,8 +48,4 @@ export default class Registry {
CoreClient.RegisterButtonEvent("series", new SeriesEvent()); CoreClient.RegisterButtonEvent("series", new SeriesEvent());
CoreClient.RegisterButtonEvent("trade", new TradeButtonEvent()); CoreClient.RegisterButtonEvent("trade", new TradeButtonEvent());
} }
public static RegisterTimers() {
}
} }