Format files

This commit is contained in:
ayntee
2021-04-13 06:05:20 +00:00
parent 405f362ec9
commit b633689d3a
9 changed files with 24 additions and 19 deletions

View File

@@ -73,7 +73,7 @@ const baseMessage: Partial<DiscordenoMessage> = {
? {
content,
allowedMentions: {
repliedUser: true
repliedUser: true,
},
messageReference: {
messageId: this.id,
@@ -82,11 +82,13 @@ const baseMessage: Partial<DiscordenoMessage> = {
}
: {
...content,
allowedMentions: { ...(content.allowedMentions || {}), repliedUser: true },
allowedMentions: {
...(content.allowedMentions || {}),
repliedUser: true,
},
messageReference: {
messageId: this.id,
failIfNotExists:
content.messageReference?.failIfNotExists === true,
failIfNotExists: content.messageReference?.failIfNotExists === true,
},
};