2023-08-19 16:56:22 +01:00
|
|
|
import { CoreClient } from "./client/client";
|
|
|
|
|
2023-10-26 18:13:13 +01:00
|
|
|
// Global Command Imports
|
2023-08-19 16:56:22 +01:00
|
|
|
import About from "./commands/about";
|
2023-09-03 20:27:29 +01:00
|
|
|
import Drop from "./commands/drop";
|
|
|
|
|
2023-10-26 18:13:13 +01:00
|
|
|
// Test Command Imports
|
|
|
|
import Dropnumber from "./commands/stage/dropnumber";
|
|
|
|
|
|
|
|
// Button Event Imports
|
2023-09-03 20:27:29 +01:00
|
|
|
import Claim from "./buttonEvents/Claim";
|
|
|
|
import Reroll from "./buttonEvents/Reroll";
|
2023-10-26 18:13:13 +01:00
|
|
|
import { Environment } from "./constants/Environment";
|
2023-08-19 16:56:22 +01:00
|
|
|
|
|
|
|
export default class Registry {
|
|
|
|
public static RegisterCommands() {
|
2023-10-26 18:13:13 +01:00
|
|
|
// Global Commands
|
2023-08-19 16:56:22 +01:00
|
|
|
CoreClient.RegisterCommand('about', new About());
|
2023-09-03 20:27:29 +01:00
|
|
|
CoreClient.RegisterCommand('drop', new Drop());
|
2023-10-26 18:13:13 +01:00
|
|
|
|
|
|
|
// Test Commands
|
|
|
|
CoreClient.RegisterCommand('dropnumber', new Dropnumber(), Environment.Test);
|
2023-08-19 16:56:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public static RegisterEvents() {
|
|
|
|
|
|
|
|
}
|
2023-09-03 20:27:29 +01:00
|
|
|
|
|
|
|
public static RegisterButtonEvents() {
|
|
|
|
CoreClient.RegisterButtonEvent('claim', new Claim());
|
|
|
|
CoreClient.RegisterButtonEvent('reroll', new Reroll());
|
|
|
|
}
|
2023-08-19 16:56:22 +01:00
|
|
|
}
|