Skip to content

Commit

Permalink
Drop emojis completely from buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
uubk committed Mar 28, 2024
1 parent f2222e4 commit b27f9d0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pkg/controller/DiscordController.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,19 +264,13 @@ func (dc *DiscordController) GetDiscordUserCard(searchString string, buttonsEnab
Label: "Logout",
Style: discordgo.DangerButton,
Disabled: !buttonsEnabled,
Emoji: discordgo.ComponentEmoji{
Name: "(x)",
},
CustomID: "findLogoutBtn",
})
if !vlansMissing {
actions = append(actions, discordgo.Button{
Label: "Change VLAN",
Style: discordgo.PrimaryButton,
Disabled: !buttonsEnabled,
Emoji: discordgo.ComponentEmoji{
Name: "(w)",
},
CustomID: "findChangeBtn",
})
}
Expand All @@ -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",
})
}
Expand All @@ -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{
Expand Down

0 comments on commit b27f9d0

Please sign in to comment.