Add cron job to add coins to a user every 30 minutes #219
2 changed files with 0 additions and 11 deletions
|
@ -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";
|
||||
|
||||
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") {
|
||||
|
|
|
@ -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() {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue