New Discord integration fixes (#37793)

Fix admin chat relay.

Fix leaked task instance.

Fix warning about gateway intents on startup.

Fix packaging.
This commit is contained in:
Pieter-Jan Briers
2025-05-24 23:27:12 +02:00
committed by GitHub
parent d56c0d0610
commit ec3edb7264
4 changed files with 25 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ namespace Content.Shared.Chat
return channel switch
{
ChatChannel.OOC => Loc.GetString("chat-channel-humanized-ooc"),
ChatChannel.Admin => Loc.GetString("chat-channel-humanized-admin"),
ChatChannel.AdminChat => Loc.GetString("chat-channel-humanized-admin"),
_ => throw new ArgumentOutOfRangeException(nameof(channel), channel, null)
};
}