initial code commit

This commit is contained in:
2025-03-23 13:38:56 -04:00
parent aa1889f6fe
commit edf72fe289
16 changed files with 427 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package commands
import "github.com/bwmarrin/discordgo"
var HugCommand = &discordgo.ApplicationCommand{
Name: "hug",
Description: "Sends you a big warm hug!",
}
func HandleHug(s *discordgo.Session, i *discordgo.InteractionCreate) {
response := &discordgo.InteractionResponse{
Type: discordgo.InteractionResponseChannelMessageWithSource,
Data: &discordgo.InteractionResponseData{
Content: "Sending you a big warm hug! 🤗",
},
}
s.InteractionRespond(i.Interaction, response)
}