feature/5-drop-command (#17)
#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>
This commit is contained in:
parent
51d97bacd5
commit
58d1541e47
21 changed files with 382 additions and 48 deletions
|
@ -1,13 +1,23 @@
|
|||
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());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue