aboutsummaryrefslogtreecommitdiff
path: root/src/lib/utils
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-05-29 04:01:47 +0000
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-05-29 04:01:47 +0000
commit57de6733b62c83ff197f9236f71545d8ef1e1103 (patch)
tree71f0920b153dfc4031f35d7c62907c9dc28d540d /src/lib/utils
parent28e98a1131fc2e11fa3cf8aa20fe03e57af38a12 (diff)
downloadtanzanite-57de6733b62c83ff197f9236f71545d8ef1e1103.tar.gz
tanzanite-57de6733b62c83ff197f9236f71545d8ef1e1103.tar.bz2
tanzanite-57de6733b62c83ff197f9236f71545d8ef1e1103.zip
Automatically format code
Diffstat (limited to 'src/lib/utils')
-rw-r--r--src/lib/utils/AllowedMentions.ts6
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[]
};
}
}