2023-08-19 16:56:22 +01:00
|
|
|
import { CoreClient } from "./client/client";
|
2023-12-22 14:41:13 +00:00
|
|
|
import { Environment } from "./constants/Environment";
|
2023-08-19 16:56:22 +01:00
|
|
|
|
2023-10-27 16:02:02 +01:00
|
|
|
// Global Command Imports
|
2023-08-19 16:56:22 +01:00
|
|
|
import About from "./commands/about";
|
2024-07-20 21:42:37 +01:00
|
|
|
import AllBalance from "./commands/allbalance";
|
2024-06-01 14:47:21 +01:00
|
|
|
import Balance from "./commands/balance";
|
2024-05-24 17:40:45 +01:00
|
|
|
import Daily from "./commands/daily";
|
2023-09-03 20:27:29 +01:00
|
|
|
import Drop from "./commands/drop";
|
2023-11-10 18:32:08 +00:00
|
|
|
import Gdrivesync from "./commands/gdrivesync";
|
2024-01-12 17:51:29 +00:00
|
|
|
import Give from "./commands/give";
|
2023-12-22 14:41:13 +00:00
|
|
|
import Inventory from "./commands/inventory";
|
2023-11-23 17:28:15 +00:00
|
|
|
import Resync from "./commands/resync";
|
2024-05-17 21:02:52 +01:00
|
|
|
import Sacrifice from "./commands/sacrifice";
|
2024-03-31 15:49:30 +01:00
|
|
|
import Series from "./commands/series";
|
2024-02-23 18:37:48 +00:00
|
|
|
import Trade from "./commands/trade";
|
2024-02-02 21:53:42 +00:00
|
|
|
import View from "./commands/view";
|
2023-09-03 20:27:29 +01:00
|
|
|
|
2023-10-27 16:02:02 +01:00
|
|
|
// Test Command Imports
|
|
|
|
import Dropnumber from "./commands/stage/dropnumber";
|
2023-11-10 18:27:02 +00:00
|
|
|
import Droprarity from "./commands/stage/droprarity";
|
2023-10-27 16:02:02 +01:00
|
|
|
|
|
|
|
// Button Event Imports
|
2023-09-03 20:27:29 +01:00
|
|
|
import Claim from "./buttonEvents/Claim";
|
2023-12-22 14:41:13 +00:00
|
|
|
import InventoryButtonEvent from "./buttonEvents/Inventory";
|
2023-09-03 20:27:29 +01:00
|
|
|
import Reroll from "./buttonEvents/Reroll";
|
2024-05-17 21:02:52 +01:00
|
|
|
import SacrificeButtonEvent from "./buttonEvents/Sacrifice";
|
2024-03-31 15:49:30 +01:00
|
|
|
import SeriesEvent from "./buttonEvents/Series";
|
2024-02-23 18:37:48 +00:00
|
|
|
import TradeButtonEvent from "./buttonEvents/Trade";
|
2024-08-16 18:36:57 +01:00
|
|
|
import ViewButtonEvent from "./buttonEvents/View";
|
2023-08-19 16:56:22 +01:00
|
|
|
|
|
|
|
export default class Registry {
|
|
|
|
public static RegisterCommands() {
|
2023-10-27 16:02:02 +01:00
|
|
|
// Global Commands
|
2024-01-05 19:26:44 +00:00
|
|
|
CoreClient.RegisterCommand("about", new About());
|
2024-07-20 21:42:37 +01:00
|
|
|
CoreClient.RegisterCommand("allbalance", new AllBalance());
|
2024-06-01 14:47:21 +01:00
|
|
|
CoreClient.RegisterCommand("balance", new Balance());
|
2024-05-24 17:40:45 +01:00
|
|
|
CoreClient.RegisterCommand("daily", new Daily());
|
2024-01-05 19:26:44 +00:00
|
|
|
CoreClient.RegisterCommand("drop", new Drop());
|
|
|
|
CoreClient.RegisterCommand("gdrivesync", new Gdrivesync());
|
2024-01-12 17:51:29 +00:00
|
|
|
CoreClient.RegisterCommand("give", new Give());
|
2024-01-05 19:26:44 +00:00
|
|
|
CoreClient.RegisterCommand("inventory", new Inventory());
|
|
|
|
CoreClient.RegisterCommand("resync", new Resync());
|
2024-05-17 21:02:52 +01:00
|
|
|
CoreClient.RegisterCommand("sacrifice", new Sacrifice());
|
2024-03-31 15:49:30 +01:00
|
|
|
CoreClient.RegisterCommand("series", new Series());
|
2024-02-23 18:37:48 +00:00
|
|
|
CoreClient.RegisterCommand("trade", new Trade());
|
2024-02-02 21:53:42 +00:00
|
|
|
CoreClient.RegisterCommand("view", new View());
|
2023-10-27 16:02:02 +01:00
|
|
|
|
|
|
|
// Test Commands
|
2024-01-05 19:26:44 +00:00
|
|
|
CoreClient.RegisterCommand("dropnumber", new Dropnumber(), Environment.Test);
|
|
|
|
CoreClient.RegisterCommand("droprarity", new Droprarity(), Environment.Test);
|
2023-08-19 16:56:22 +01:00
|
|
|
}
|
|
|
|
|
2023-09-03 20:27:29 +01:00
|
|
|
public static RegisterButtonEvents() {
|
2024-01-05 19:26:44 +00:00
|
|
|
CoreClient.RegisterButtonEvent("claim", new Claim());
|
2024-02-23 18:37:48 +00:00
|
|
|
CoreClient.RegisterButtonEvent("inventory", new InventoryButtonEvent());
|
2024-01-05 19:26:44 +00:00
|
|
|
CoreClient.RegisterButtonEvent("reroll", new Reroll());
|
2024-05-17 21:02:52 +01:00
|
|
|
CoreClient.RegisterButtonEvent("sacrifice", new SacrificeButtonEvent());
|
2024-03-31 15:49:30 +01:00
|
|
|
CoreClient.RegisterButtonEvent("series", new SeriesEvent());
|
2024-02-23 18:37:48 +00:00
|
|
|
CoreClient.RegisterButtonEvent("trade", new TradeButtonEvent());
|
2024-08-16 18:36:57 +01:00
|
|
|
CoreClient.RegisterButtonEvent("view", new ViewButtonEvent());
|
2023-09-03 20:27:29 +01:00
|
|
|
}
|
2023-08-19 16:56:22 +01:00
|
|
|
}
|