diff options
| author | TymanWasTaken <32660892+tymanwastaken@users.noreply.github.com> | 2021-05-28 22:08:28 -0600 |
|---|---|---|
| committer | TymanWasTaken <32660892+tymanwastaken@users.noreply.github.com> | 2021-05-28 22:08:28 -0600 |
| commit | ee665e568f244e1c465748718691404b7bf6feb0 (patch) | |
| tree | 847333085377020969ce13cd6652d8894c503426 /src/lib/utils | |
| parent | 35d8cbda559c479c66800d39535df02c807dc33a (diff) | |
| parent | 57de6733b62c83ff197f9236f71545d8ef1e1103 (diff) | |
| download | tanzanite-ee665e568f244e1c465748718691404b7bf6feb0.tar.gz tanzanite-ee665e568f244e1c465748718691404b7bf6feb0.tar.bz2 tanzanite-ee665e568f244e1c465748718691404b7bf6feb0.zip | |
Merge branch 'rewrite' of github.com:NotEnoughUpdates/bush-bot into rewrite
Diffstat (limited to 'src/lib/utils')
| -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[] }; } } |
