Use unicode codes instead of emojis (#295)

This change was made to avoid using emoji in the code, which may not
render correctly depending on the IDE and/or operating system.
This commit is contained in:
Macintxsh 2024-04-01 15:57:49 +03:00 committed by GitHub
parent 9429dfe8d8
commit 70fccf8335
Signed by: GitHub
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -223,7 +223,7 @@ public sealed class ScheduledEventUpdateService : BackgroundService
var button = new ButtonComponent(
ButtonComponentStyle.Link,
Messages.ButtonOpenEventInfo,
new PartialEmoji(Name: "📋"),
new PartialEmoji(Name: "\ud83d\udccb"), // 'CLIPBOARD' (U+1F4CB)
URL: $"https://discord.com/events/{scheduledEvent.GuildID}/{scheduledEvent.ID}"
);