2024-01-21 00:27:52 -07:00
|
|
|
package command
|
|
|
|
|
2024-10-22 12:24:02 -06:00
|
|
|
import (
|
|
|
|
"github.com/bwmarrin/discordgo"
|
|
|
|
)
|
2024-01-21 00:27:52 -07:00
|
|
|
|
2024-10-22 17:07:53 -06:00
|
|
|
func PingCommand(s *discordgo.Session, i *discordgo.InteractionCreate) (string, error) {
|
2024-10-22 12:24:02 -06:00
|
|
|
// Customize the response based on whether it's a guild or DM
|
|
|
|
responseContent := "Pong!"
|
|
|
|
|
2024-10-22 17:07:53 -06:00
|
|
|
return responseContent, nil
|
2024-01-21 00:27:52 -07:00
|
|
|
}
|