Ethan Lane
58d1541e47
#5 Reviewed-on: https://gitea.vylpes.xyz/External/card-drop/pulls/17 Co-authored-by: Ethan Lane <ethan@vylpes.com> Co-committed-by: Ethan Lane <ethan@vylpes.com>
23 lines
No EOL
622 B
TypeScript
23 lines
No EOL
622 B
TypeScript
import { CoreClient } from "./client/client";
|
|
|
|
import About from "./commands/about";
|
|
import Drop from "./commands/drop";
|
|
|
|
import Claim from "./buttonEvents/Claim";
|
|
import Reroll from "./buttonEvents/Reroll";
|
|
|
|
export default class Registry {
|
|
public static RegisterCommands() {
|
|
CoreClient.RegisterCommand('about', new About());
|
|
CoreClient.RegisterCommand('drop', new Drop());
|
|
}
|
|
|
|
public static RegisterEvents() {
|
|
|
|
}
|
|
|
|
public static RegisterButtonEvents() {
|
|
CoreClient.RegisterButtonEvent('claim', new Claim());
|
|
CoreClient.RegisterButtonEvent('reroll', new Reroll());
|
|
}
|
|
} |