Skip to content

Commit 4a7ecab

Browse files
Merge pull request #37 from nullinside-development-group/feature/Logging
Logging when we ban someone successfully
2 parents 199e6f4 + 0557d09 commit 4a7ecab

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)