diff --git a/src/Tgstation.Server.Host/Components/Chat/ChatManager.cs b/src/Tgstation.Server.Host/Components/Chat/ChatManager.cs index 13196b3f57..5a2f37385f 100644 --- a/src/Tgstation.Server.Host/Components/Chat/ChatManager.cs +++ b/src/Tgstation.Server.Host/Components/Chat/ChatManager.cs @@ -984,15 +984,16 @@ namespace Tgstation.Server.Host.Components.Chat Task SendMessage(IEnumerable channelIds, Message replyTo, MessageContent message, CancellationToken cancellationToken) { channelIds = channelIds.ToList(); - if (!channelIds.Any()) - return Task.CompletedTask; logger.LogTrace( - "Chat send \"{message}\"{embed} to channels: {channelIdsCommaSeperated}", + "Chat send \"{message}\"{embed} to channels: [{channelIdsCommaSeperated}]", message.Text, message.Embed != null ? " (with embed)" : String.Empty, String.Join(", ", channelIds)); + if (!channelIds.Any()) + return Task.CompletedTask; + return Task.WhenAll( channelIds.Select(x => {