mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
More PeriodicTimer's instead of System.Threading.Timers
This commit is contained in:
@@ -52,7 +52,7 @@ public class PatreonRewardsService : INService, IReadyExecutor
|
||||
if (_client.ShardId != 0)
|
||||
return;
|
||||
|
||||
var t = new PeriodicTimer(Interval);
|
||||
using var t = new PeriodicTimer(Interval);
|
||||
do
|
||||
{
|
||||
try
|
||||
|
Reference in New Issue
Block a user