2024-01-21 00:27:52 -07:00
|
|
|
package command
|
|
|
|
|
2024-10-21 23:50:17 -06:00
|
|
|
import "github.com/bwmarrin/discordgo"
|
2024-01-21 00:27:52 -07:00
|
|
|
|
2024-10-21 23:50:17 -06:00
|
|
|
func PingCommand(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
|
|
|
s.InteractionRespond(i.Interaction, &discordgo.InteractionResponse{
|
|
|
|
Type: discordgo.InteractionResponseChannelMessageWithSource,
|
|
|
|
Data: &discordgo.InteractionResponseData{
|
|
|
|
Content: "Pong!",
|
|
|
|
},
|
|
|
|
})
|
2024-01-21 00:27:52 -07:00
|
|
|
}
|