Skip to content

Commit 0557d09

Browse files
Logging when we ban someone successfully
1 parent 199e6f4 commit 0557d09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Nullinside.Api.Common/Twitch/TwitchApiProxy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ public async Task<IEnumerable<BannedUser>> BanUsers(string channelId, string bot
240240
}
241241

242242
bannedUsers.AddRange(response.Data);
243+
Log.Debug($"Banned {user.Username} ({user.Id}) in {channelId}: {reason}");
243244
}
244245
catch (HttpResponseException ex) {
245246
string exceptionReason = await ex.HttpResponse.Content.ReadAsStringAsync(token);

0 commit comments

Comments
 (0)