Add cron job to add coins to a user every 30 minutes #219

Merged
Vylpes merged 7 commits from feature/204-coins-cron into develop 2024-05-17 20:57:01 +01:00
2 changed files with 0 additions and 11 deletions
Showing only changes of commit 25d099928f - Show all commits

View file

@ -4,8 +4,6 @@ import { IntentsBitField } from "discord.js";
import Registry from "./registry";
import { existsSync } from "fs";
import { ExecException, exec } from "child_process";
import TimerHelper from "./helpers/TimerHelper";
import GiveCurrency from "./timers/GiveCurrency";
Vylpes marked this conversation as resolved Outdated

Remove unnecessary imports

Remove unnecessary imports
dotenv.config();
@ -39,7 +37,6 @@ const client = new CoreClient([
]);
Registry.RegisterCommands();
Registry.RegisterEvents();
Registry.RegisterButtonEvents();
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);
}
public static RegisterEvents() {
}
public static RegisterButtonEvents() {
CoreClient.RegisterButtonEvent("claim", new Claim());
CoreClient.RegisterButtonEvent("inventory", new InventoryButtonEvent());
@ -52,8 +48,4 @@ export default class Registry {
CoreClient.RegisterButtonEvent("series", new SeriesEvent());
CoreClient.RegisterButtonEvent("trade", new TradeButtonEvent());
}
public static RegisterTimers() {
}
}