made ping ephemeral

This commit is contained in:
2024-02-22 13:20:49 +01:00
parent f5d61eb41d
commit 0fe3f20b5d

View File

@@ -39,6 +39,7 @@ var ping_command Command = Command{
s.InteractionRespond(i.Interaction, &discordgo.InteractionResponse{
Type: discordgo.InteractionResponseChannelMessageWithSource,
Data: &discordgo.InteractionResponseData{
Flags: discordgo.MessageFlagsEphemeral,
Embeds: []*discordgo.MessageEmbed{
{
Title: s.State.User.Username + " ping",