1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

Use unicode codes instead of emojis

This commit is contained in:
Macintxsh 2024-04-01 15:17:28 +03:00
parent 9429dfe8d8
commit 6b840392fe
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1
4 changed files with 6 additions and 6 deletions

View file

@ -107,14 +107,14 @@ public class AboutCommandGroup : CommandGroup
var repositoryButton = new ButtonComponent(
ButtonComponentStyle.Link,
Messages.ButtonOpenRepository,
new PartialEmoji(Name: "🌐"),
new PartialEmoji(Name: "\ud83c\udf10"),
URL: BuildInfo.RepositoryUrl
);
var wikiButton = new ButtonComponent(
ButtonComponentStyle.Link,
Messages.ButtonOpenWiki,
new PartialEmoji(Name: "📖"),
new PartialEmoji(Name: "\ud83d\udcd6"),
URL: BuildInfo.WikiUrl
);
@ -123,7 +123,7 @@ public class AboutCommandGroup : CommandGroup
BuildInfo.IsDirty
? Messages.ButtonDirty
: Messages.ButtonReportIssue,
new PartialEmoji(Name: "⚠️"),
new PartialEmoji(Name: "\u26a0\ufe0f"),
URL: BuildInfo.IssuesUrl,
IsDisabled: BuildInfo.IsDirty
);

View file

@ -73,7 +73,7 @@ public class ErrorLoggingPostExecutionEvent : IPostExecutionEvent
BuildInfo.IsDirty
? Messages.ButtonDirty
: Messages.ButtonReportIssue,
new PartialEmoji(Name: "⚠️"),
new PartialEmoji(Name: "\u26a0\ufe0f"),
URL: BuildInfo.IssuesUrl,
IsDisabled: BuildInfo.IsDirty
);

View file

@ -114,7 +114,7 @@ public class GuildLoadedResponder : IResponder<IGuildCreate>
BuildInfo.IsDirty
? Messages.ButtonDirty
: Messages.ButtonReportIssue,
new PartialEmoji(Name: "⚠️"),
new PartialEmoji(Name: "\u26a0\ufe0f"),
URL: BuildInfo.IssuesUrl,
IsDisabled: BuildInfo.IsDirty
);

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"),
URL: $"https://discord.com/events/{scheduledEvent.GuildID}/{scheduledEvent.ID}"
);