Skip to content

Commit

Permalink
add reason in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
GhomKrosmonaute committed Jul 3, 2024
1 parent 8f7e96e commit 83f8898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/ban.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default new app.Command({

await app.sendLog(
message.guild,
`**${message.args.target.tag}** has been banned by **${message.author.tag}** from **${result.length - fails.length}** labs.`,
`**${message.args.target.tag}** has been banned by **${message.author.tag}** from **${result.length - fails.length}** labs.\nReason: ${message.args.reason}`,
)
},
})

0 comments on commit 83f8898

Please sign in to comment.