feat: Add register commands

This commit is contained in:
Siwoo Jeon 2025-04-05 16:10:27 +09:00
parent d3ba8fbbf1
commit cdb56ab2ae
Signed by: migan
GPG key ID: 036E9A8C5E8E48DA

View file

@ -38,6 +38,10 @@ func main() {
dg.Open()
for _, cmd := range commands.Discommand.Commands {
dg.ApplicationCommandCreate(dg.State.User.ID, "", cmd.ApplicationCommand)
}
defer func() {
dg.Close()
databases.Client.Disconnect(context.TODO())