From 55c9a2a75f4b38591428b613a88d3e1caba9c68a Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 18 Apr 2024 12:43:12 +0200 Subject: feat(commands): credits #2 --- main.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main.go') 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, } -- cgit v1.2.3