package fun

import "github.com/bwmarrin/discordgo"

var Ping = &discordgo.ApplicationCommand{
	Name:        "ping",
	Description: "Ping the bot",
}

func PingHandler(s *discordgo.Session, i *discordgo.InteractionCreate) {
	s.InteractionRespond(i.Interaction, &discordgo.InteractionResponse{
		Type: discordgo.InteractionResponseChannelMessageWithSource,
		Data: &discordgo.InteractionResponseData{
			Content: "Pong!",
		},
	})
}
