diff --git a/src/discord/commands.go b/src/discord/commands.go index 04d31f52..85faacce 100644 --- a/src/discord/commands.go +++ b/src/discord/commands.go @@ -17,7 +17,6 @@ import ( const SlashCommandProfile = "profile" const ProfileOptionUser = "user" -const SlashCommandWishlist = "wishlist" const SlashCommandManifesto = "manifesto" // User command names @@ -50,12 +49,6 @@ func (bot *botInstance) createApplicationCommands(ctx context.Context) { Name: UserCommandProfile, })) - doOrWarn(CreateGuildApplicationCommand(ctx, CreateGuildApplicationCommandRequest{ - Type: ApplicationCommandTypeChatInput, - Name: SlashCommandWishlist, - Description: "Check out the Handmade Network wishlist", - })) - doOrWarn(CreateGuildApplicationCommand(ctx, CreateGuildApplicationCommandRequest{ Type: ApplicationCommandTypeChatInput, Name: SlashCommandManifesto, @@ -83,17 +76,6 @@ func (bot *botInstance) doInteraction(ctx context.Context, i *Interaction) { bot.handleProfileCommand(ctx, i, userID) case UserCommandProfile: bot.handleProfileCommand(ctx, i, i.Data.TargetID) - case SlashCommandWishlist: - err := CreateInteractionResponse(ctx, i.ID, i.Token, InteractionResponse{ - Type: InteractionCallbackTypeChannelMessageWithSource, - Data: &InteractionCallbackData{ - Content: "Check out the Handmade Network wishlist at https://github.com/HandmadeNetwork/wishlist/discussions/", - Flags: FlagEphemeral, - }, - }) - if err != nil { - logging.ExtractLogger(ctx).Error().Err(err).Msg("failed to send wishlist response") - } case SlashCommandManifesto: err := CreateInteractionResponse(ctx, i.ID, i.Token, InteractionResponse{ Type: InteractionCallbackTypeChannelMessageWithSource,