Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Regalijan committed Jan 16, 2024
1 parent 8e67a5a commit 45ad91e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions commands/ban.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ export = {
if (days) aheadToUnban += days * 1440 * 60000;
await target
.send({
content: `You have been banned from ${i.guild
?.name} for the following reason:\n\n${i.options.getString(
"reason",
)}`,
content: `You have been banned from ${
i.guild?.name
} for the following reason:\n\n${i.options.getString("reason")}`,
})
.catch((e) => console.error(e));
await target.ban({
Expand Down
5 changes: 3 additions & 2 deletions events/messageCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ module.exports = async function (message: Message) {

await member
.send({
content: `You were banned from ${message.guild
?.name} for sending a phishing link.${
content: `You were banned from ${
message.guild?.name
} for sending a phishing link.${
settings.antiphishMessage ? "\n\n" + settings.antiphishMessage : ""
}`,
})
Expand Down

0 comments on commit 45ad91e

Please sign in to comment.