diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-05-29 04:01:47 +0000 |
---|---|---|
committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-05-29 04:01:47 +0000 |
commit | 57de6733b62c83ff197f9236f71545d8ef1e1103 (patch) | |
tree | 71f0920b153dfc4031f35d7c62907c9dc28d540d /src/lib/utils/AllowedMentions.ts | |
parent | 28e98a1131fc2e11fa3cf8aa20fe03e57af38a12 (diff) | |
download | tanzanite-57de6733b62c83ff197f9236f71545d8ef1e1103.tar.gz tanzanite-57de6733b62c83ff197f9236f71545d8ef1e1103.tar.bz2 tanzanite-57de6733b62c83ff197f9236f71545d8ef1e1103.zip |
Automatically format code
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[] }; } } |