Skip to content

Commit

Permalink
Patch edit
Browse files Browse the repository at this point in the history
  • Loading branch information
XboxBedrock authored Aug 29, 2024
1 parent d01fdab commit f454501
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/entities/BlunderTracker.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,22 @@ export default class BlunderTracker extends typeorm.BaseEntity {

if (message)
message.edit(
`\`${dayCount}\` days since ${await this.roleToTeam(client)} ${
this.description
}`
{
content:
`\`${dayCount}\` days since ${await this.roleToTeam(client)} ${this.description
}`,
allowedMentions: { parse: [] }
}
)
else {
channel
.send(
`\`${dayCount}\` days since ${await this.roleToTeam(client)} ${
this.description
}`
{
content:
`\`${dayCount}\` days since ${await this.roleToTeam(client)} ${this.description
}`,
allowedMentions: { parse: [] }
}
)
.then(msg => (this.message = msg.id))
}
Expand Down

0 comments on commit f454501

Please sign in to comment.