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

Added event link display for created event

This commit is contained in:
mctaylors 2022-10-23 13:39:59 +03:00 committed by Octol1ttle
parent 58eceab771
commit 6fa4a24d4c
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
6 changed files with 2176 additions and 1074 deletions

View file

@ -129,7 +129,7 @@ public static class EventHandler {
await Utils.SilentSendAsync(channel,
string.Format(Messages.EventCreated, "\n", roleMention, scheduledEvent.Creator.Mention,
Utils.Wrap(scheduledEvent.Name), location,
scheduledEvent.StartTime.ToUnixTimeSeconds().ToString(), Utils.Wrap(scheduledEvent.Description)),
scheduledEvent.StartTime.ToUnixTimeSeconds().ToString(), Utils.Wrap(scheduledEvent.Description), guild.Id, scheduledEvent.Id),
true);
}
if (eventConfig["EventEarlyNotificationOffset"] != "0") {