himbot/command/ping.go

13 lines
274 B
Go
Raw Permalink Normal View History

package command
2024-10-22 12:24:02 -06:00
import (
"github.com/bwmarrin/discordgo"
)
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
}