diff options
-rw-r--r-- | src/lib/utils/AllowedMentions.ts | 13 | ||||
-rw-r--r-- | src/lib/utils/BushLogger.ts | 2 |
2 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/utils/AllowedMentions.ts b/src/lib/utils/AllowedMentions.ts index c0c76ee..7a377be 100644 --- a/src/lib/utils/AllowedMentions.ts +++ b/src/lib/utils/AllowedMentions.ts @@ -4,6 +4,13 @@ export class AllowedMentions { public everyone: boolean; public users: boolean; public roles: boolean; + + public constructor(users = true, roles = false, everyone = false) { + this.everyone = everyone; + this.roles = roles; + this.users = users; + } + public static none(): MessageMentionOptions { return { parse: [] }; } @@ -32,12 +39,6 @@ export class AllowedMentions { }; } - public constructor(users = true, roles = false, everyone = false) { - this.everyone = everyone; - this.roles = roles; - this.users = users; - } - public toObject(): MessageMentionOptions { return { parse: [ diff --git a/src/lib/utils/BushLogger.ts b/src/lib/utils/BushLogger.ts index 341fb7e..9fcc059 100644 --- a/src/lib/utils/BushLogger.ts +++ b/src/lib/utils/BushLogger.ts @@ -5,7 +5,7 @@ import { inspect } from 'util'; import { type BushSendMessageType } from '../extensions/discord-akairo/BushClient'; /** - * A custom logging utility for the bot. + * Custom logging utility for the bot. */ export class BushLogger { /** |