33 lines
945 B
TypeScript
33 lines
945 B
TypeScript
import { CoreClient } from "./client/client";
|
|
|
|
// Global Command Imports
|
|
import About from "./commands/about";
|
|
import Drop from "./commands/drop";
|
|
|
|
// Test Command Imports
|
|
import Dropnumber from "./commands/stage/dropnumber";
|
|
|
|
// Button Event Imports
|
|
import Claim from "./buttonEvents/Claim";
|
|
import Reroll from "./buttonEvents/Reroll";
|
|
import { Environment } from "./constants/Environment";
|
|
|
|
export default class Registry {
|
|
public static RegisterCommands() {
|
|
// Global Commands
|
|
CoreClient.RegisterCommand('about', new About());
|
|
CoreClient.RegisterCommand('drop', new Drop());
|
|
|
|
// Test Commands
|
|
CoreClient.RegisterCommand('dropnumber', new Dropnumber(), Environment.Test);
|
|
}
|
|
|
|
public static RegisterEvents() {
|
|
|
|
}
|
|
|
|
public static RegisterButtonEvents() {
|
|
CoreClient.RegisterButtonEvent('claim', new Claim());
|
|
CoreClient.RegisterButtonEvent('reroll', new Reroll());
|
|
}
|
|
} |