diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-01-22 20:10:21 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-01-22 20:10:21 +0100 |
| commit | 8255a2e51454049f3ac1532f6e1125f528691c37 (patch) | |
| tree | 064b7dbdd07efd85162c954d20c1dcd831ea84f6 /main.go | |
| parent | eee2a3873e11bef6bee2f71cf429c8a870c5383c (diff) | |
refactor(commands): use new handlers
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -213,6 +213,15 @@ func main() { dynamicid.HandleDynamicMessageComponent(events, rolereact.HandleSetReaction, rolereact.SetRoleReaction) dynamicid.HandleDynamicMessageComponent(events, rolereact.HandleDelRole, rolereact.DelRole) + // commands + intrs.HandleCommand("rank", commands.Rank) + intrs.HandleCommand("config", commands.ConfigCommand) + intrs.HandleCommand("top", commands.Top) + intrs.HandleCommand("reset", commands.Reset) + intrs.HandleCommand("reset-user", commands.ResetUser) + intrs.HandleCommand("credits", commands.Credits) + intrs.HandleCommand("rolereact", rolereact.HandleCommand) + // interaction: /config intrs.HandleMessageComponent(commands.OpenConfig, commands.ConfigMessageComponent) // xp role related |
