1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-04 13:06:29 +03:00

Fix newlines in event start notifications

This commit is contained in:
Octol1ttle 2022-11-20 15:46:12 +05:00
parent 8f10f37d2e
commit e3cdcbcf0c
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
5 changed files with 5 additions and 5 deletions

View file

@ -119,7 +119,7 @@ public static class EventHandler {
var location = Utils.Wrap(scheduledEvent.Location) ?? Utils.MentionChannel(scheduledEvent.Channel.Id);
var descAndLink
= $"{Utils.Wrap(scheduledEvent.Description)}\nhttps://discord.com/events/{guild.Id}/{scheduledEvent.Id}";
= $"\n{Utils.Wrap(scheduledEvent.Description)}\nhttps://discord.com/events/{guild.Id}/{scheduledEvent.Id}";
await Utils.SilentSendAsync(channel,
string.Format(Messages.EventCreated, mentions,