@@ -31,7 +31,7 @@ public abstract class ABotRule : IBotRule {
3131 /// <param name="stoppingToken">The cancellation token.</param>
3232 /// <returns>An asynchronous task.</returns>
3333 public abstract Task Handle ( User user , TwitchUserConfig config , TwitchApiProxy botProxy ,
34- NullinsideContext db , CancellationToken stoppingToken = new ( ) ) ;
34+ INullinsideContext db , CancellationToken stoppingToken = new ( ) ) ;
3535
3636 /// <summary>
3737 /// Handles performing a ban only once, ever, on a user. Any future calls with the same user to be banned in the same
@@ -44,7 +44,7 @@ public abstract Task Handle(User user, TwitchUserConfig config, TwitchApiProxy b
4444 /// <param name="reason">The reason for the ban.</param>
4545 /// <param name="stoppingToken">The cancellation token.</param>
4646 /// <returns>A collection of confirmed banned users.</returns>
47- protected virtual async Task < IEnumerable < BannedUser > ? > BanOnce ( TwitchApiProxy botProxy , NullinsideContext db ,
47+ protected virtual async Task < IEnumerable < BannedUser > ? > BanOnce ( TwitchApiProxy botProxy , INullinsideContext db ,
4848 string channelId , IEnumerable < ( string Id , string Username ) > users , string reason ,
4949 CancellationToken stoppingToken = new ( ) ) {
5050 // Get the list of everyone to ban
0 commit comments