Add verify button event to registry
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Ethan Lane 2024-01-23 17:52:06 +00:00
parent 8598419e1f
commit c279c5e83a
2 changed files with 5 additions and 1 deletions

View file

@ -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());
}
}

View file

@ -37,5 +37,6 @@ const client = new CoreClient([
registry.RegisterCommands();
registry.RegisterEvents();
registry.RegisterButtonEvents();
client.start();