@@ -31,7 +31,7 @@ public abstract class ABotRule : IBotRule {
31
31
/// <param name="stoppingToken">The cancellation token.</param>
32
32
/// <returns>An asynchronous task.</returns>
33
33
public abstract Task Handle ( User user , TwitchUserConfig config , TwitchApiProxy botProxy ,
34
- NullinsideContext db , CancellationToken stoppingToken = new ( ) ) ;
34
+ INullinsideContext db , CancellationToken stoppingToken = new ( ) ) ;
35
35
36
36
/// <summary>
37
37
/// 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
44
44
/// <param name="reason">The reason for the ban.</param>
45
45
/// <param name="stoppingToken">The cancellation token.</param>
46
46
/// <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 ,
48
48
string channelId , IEnumerable < ( string Id , string Username ) > users , string reason ,
49
49
CancellationToken stoppingToken = new ( ) ) {
50
50
// Get the list of everyone to ban
0 commit comments