Revamped event handlers

This commit is contained in:
2023-12-12 17:42:40 +01:00
parent 325f4a9c0e
commit db9a1e6c54
8 changed files with 57 additions and 36 deletions

View File

@@ -24,8 +24,9 @@ const client = new Client({
})
client.commands = new Collection()
client.events = new Collection()
client.buttons = new Collection()
client.modals = new Collection()
client.autocomplete = new Collection()
init()
loadSlashCommandsEvents(client)