From b27f9d014f9e42d4696a2bb12fc50d7199432755 Mon Sep 17 00:00:00 2001 From: Maximilian Falkenstein Date: Thu, 28 Mar 2024 23:26:48 +0100 Subject: [PATCH] Drop emojis completely from buttons --- pkg/controller/DiscordController.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pkg/controller/DiscordController.go b/pkg/controller/DiscordController.go index 1594f5b..3071d4a 100644 --- a/pkg/controller/DiscordController.go +++ b/pkg/controller/DiscordController.go @@ -264,9 +264,6 @@ func (dc *DiscordController) GetDiscordUserCard(searchString string, buttonsEnab Label: "Logout", Style: discordgo.DangerButton, Disabled: !buttonsEnabled, - Emoji: discordgo.ComponentEmoji{ - Name: "(x)", - }, CustomID: "findLogoutBtn", }) if !vlansMissing { @@ -274,9 +271,6 @@ func (dc *DiscordController) GetDiscordUserCard(searchString string, buttonsEnab Label: "Change VLAN", Style: discordgo.PrimaryButton, Disabled: !buttonsEnabled, - Emoji: discordgo.ComponentEmoji{ - Name: "(w)", - }, CustomID: "findChangeBtn", }) } @@ -286,9 +280,6 @@ func (dc *DiscordController) GetDiscordUserCard(searchString string, buttonsEnab Label: "Login", Style: discordgo.SuccessButton, Disabled: !buttonsEnabled, - Emoji: discordgo.ComponentEmoji{ - Name: "(y)", - }, CustomID: "findLoginBtn", }) } @@ -299,9 +290,6 @@ func (dc *DiscordController) GetDiscordUserCard(searchString string, buttonsEnab Label: "Cancel", Style: discordgo.SecondaryButton, Disabled: !buttonsEnabled, - Emoji: discordgo.ComponentEmoji{ - Name: "(x)", - }, CustomID: "findCancelBtn", }) card.Components = append(card.Components, discordgo.ActionsRow{