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

Comply with code style regarding newlines and square brackets

This commit is contained in:
l1ttleO 2022-10-23 14:44:07 +05:00 committed by GitHub
parent 08ab3beb27
commit f34ef44509
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,8 +132,7 @@ public static class EventHandler {
scheduledEvent.StartTime.ToUnixTimeSeconds().ToString(), Utils.Wrap(scheduledEvent.Description)), scheduledEvent.StartTime.ToUnixTimeSeconds().ToString(), Utils.Wrap(scheduledEvent.Description)),
true); true);
} }
if (eventConfig["EventEarlyNotificationOffset"] != "0") if (eventConfig["EventEarlyNotificationOffset"] != "0") {
{
_ = Utils.SendEarlyEventStartNotificationAsync(channel, scheduledEvent, Convert.ToInt32(eventConfig["EventEarlyNotificationOffset"])); _ = Utils.SendEarlyEventStartNotificationAsync(channel, scheduledEvent, Convert.ToInt32(eventConfig["EventEarlyNotificationOffset"]));
} }
} }