aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-04-18 12:43:12 +0200
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-04-18 12:43:12 +0200
commit55c9a2a75f4b38591428b613a88d3e1caba9c68a (patch)
tree882eba4354b0f5f22b95727a11cd700a1383305b /main.go
parent1f5c649169591472572cb2874d2e70eb96ca7896 (diff)
feat(commands): credits
#2
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.go b/main.go
index 54b3281..9ba35f5 100644
--- a/main.go
+++ b/main.go
@@ -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,
}