Fixed some of the compiler warnings.
This commit is contained in:
@@ -52,7 +52,9 @@ namespace TwitchChatTTS.Twitch.Socket.Handlers
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
|
||||
Task.Run(async () => await EndOfRaidSpamProtection(message.ToBroadcasterUserId, endDate));
|
||||
#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
|
||||
}
|
||||
|
||||
private async Task EndOfRaidSpamProtection(string raidedId, DateTime endDate)
|
||||
|
||||
Reference in New Issue
Block a user