diff options
Diffstat (limited to 'src/lib/utils/AllowedMentions.ts')
-rw-r--r-- | src/lib/utils/AllowedMentions.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/utils/AllowedMentions.ts b/src/lib/utils/AllowedMentions.ts index 68c44d7..47e440b 100644 --- a/src/lib/utils/AllowedMentions.ts +++ b/src/lib/utils/AllowedMentions.ts @@ -34,7 +34,11 @@ export default class AllowedMentions { } public toObject(): MessageMentionOptions { return { - parse: [...(this.users ? ['users'] : []), ...(this.roles ? ['roles'] : []), ...(this.everyone ? ['everyone'] : [])] as MessageMentionTypes[] + parse: [ + ...(this.users ? ['users'] : []), + ...(this.roles ? ['roles'] : []), + ...(this.everyone ? ['everyone'] : []) + ] as MessageMentionTypes[] }; } } |