aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-04 11:01:04 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-04 11:01:04 -0500
commit2db87acac4fe36baa93db0a8e52d7a83b3ce2998 (patch)
tree58e6cb37a1253e2031c2f506f88f0c13b0a8c163
parentc544cee715d61570a693e300337da08a21213a0e (diff)
downloadtanzanite-2db87acac4fe36baa93db0a8e52d7a83b3ce2998.tar.gz
tanzanite-2db87acac4fe36baa93db0a8e52d7a83b3ce2998.tar.bz2
tanzanite-2db87acac4fe36baa93db0a8e52d7a83b3ce2998.zip
clean up
-rw-r--r--src/lib/utils/AllowedMentions.ts13
-rw-r--r--src/lib/utils/BushLogger.ts2
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 {
/**