Add verify button event to registry
This commit is contained in:
parent
8598419e1f
commit
c279c5e83a
2 changed files with 5 additions and 1 deletions
|
@ -37,6 +37,9 @@ import MessageDelete from "./events/MessageEvents/MessageDelete";
|
|||
import MessageUpdate from "./events/MessageEvents/MessageUpdate";
|
||||
import MessageCreate from "./events/MessageEvents/MessageCreate";
|
||||
|
||||
// Button Event Imports
|
||||
import Verify from "./buttonEvents/verify";
|
||||
|
||||
export default class Registry {
|
||||
public static RegisterCommands() {
|
||||
CoreClient.RegisterCommand("about", new About());
|
||||
|
@ -86,6 +89,6 @@ export default class Registry {
|
|||
}
|
||||
|
||||
public static RegisterButtonEvents() {
|
||||
|
||||
CoreClient.RegisterButtonEvent("verify", new Verify());
|
||||
}
|
||||
}
|
|
@ -37,5 +37,6 @@ const client = new CoreClient([
|
|||
|
||||
registry.RegisterCommands();
|
||||
registry.RegisterEvents();
|
||||
registry.RegisterButtonEvents();
|
||||
|
||||
client.start();
|
||||
|
|
Loading…
Reference in a new issue