diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-18 12:43:12 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-18 12:43:12 +0200 |
| commit | 55c9a2a75f4b38591428b613a88d3e1caba9c68a (patch) | |
| tree | 882eba4354b0f5f22b95727a11cd700a1383305b /main.go | |
| parent | 1f5c649169591472572cb2874d2e70eb96ca7896 (diff) | |
feat(commands): credits
#2
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -115,6 +115,10 @@ func main() { SetHandler(commands.ResetUser). SetPermission(gokord.AdminPermission) + creditsCmd := gokord.NewCommand("credits", "Crédits"). + HasOption(). + SetHandler(commands.Credits) + bot := gokord.Bot{ Token: token, Status: []*gokord.Status{ @@ -140,6 +144,7 @@ func main() { topCmd, resetCmd, resetUserCmd, + creditsCmd, }, AfterInit: afterInit, } |
