fix log lines for scbl-info

This commit is contained in:
SeanWalsh95 2021-03-13 16:33:56 -05:00 committed by GitHub
parent 5e6cf945ea
commit 20485c61c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ export default class SCBLInfo extends DiscordBasePlugin {
if (!data.steamUser) {
this.verbose(
2,
`Player ${info.name} (Steam ID: ${info.steamID}) is not listed in the Squad Community Ban List.`
`Player ${info.player.name} (Steam ID: ${info.player.steamID}) is not listed in the Squad Community Ban List.`
);
return;
}
@ -99,7 +99,7 @@ export default class SCBLInfo extends DiscordBasePlugin {
if (data.steamUser.reputationPoints < this.options.threshold) {
this.verbose(
2,
`Player ${info.name} (Steam ID: ${info.steamID}) has a reputation below the threshold.`
`Player ${info.player.name} (Steam ID: ${info.player.steamID}) has a reputation below the threshold.`
);
return;
}