aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/extensions/discord-akairo/BushCommandUtil.ts4
-rw-r--r--src/lib/extensions/discord.js/BushMessage.ts7
2 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/extensions/discord-akairo/BushCommandUtil.ts b/src/lib/extensions/discord-akairo/BushCommandUtil.ts
index a1c8036..1e86401 100644
--- a/src/lib/extensions/discord-akairo/BushCommandUtil.ts
+++ b/src/lib/extensions/discord-akairo/BushCommandUtil.ts
@@ -13,10 +13,10 @@ export class BushCommandUtil extends CommandUtil {
public declare handler: BushCommandHandler;
public declare message: BushMessage;
public declare messages?: Collection<Snowflake, BushMessage>;
- public test: string;
+ // public test: string;
public constructor(handler: BushCommandHandler, message: BushMessage) {
super(handler, message);
- this.test = 'abc';
+ // this.test = 'abc';
}
}
diff --git a/src/lib/extensions/discord.js/BushMessage.ts b/src/lib/extensions/discord.js/BushMessage.ts
index db68a19..f7e8cd0 100644
--- a/src/lib/extensions/discord.js/BushMessage.ts
+++ b/src/lib/extensions/discord.js/BushMessage.ts
@@ -1,6 +1,6 @@
import { Message } from 'discord.js';
import { BushClient } from '../discord-akairo/BushClient';
-import { BushCommandUtil } from '../discord-akairo/BushCommandUtil';
+// import { BushCommandUtil } from '../discord-akairo/BushCommandUtil';
import { BushDMChannel } from './BushDMChannel';
import { BushGuild } from './BushGuild';
import { BushGuildMember } from './BushGuildMember';
@@ -11,7 +11,7 @@ import { BushUser } from './BushUser';
export class BushMessage extends Message {
public declare readonly client: BushClient;
- public util: BushCommandUtil;
+ // public util: BushCommandUtil;
public declare readonly guild: BushGuild;
public declare readonly member: BushGuildMember;
public declare author: BushUser;
@@ -22,7 +22,6 @@ export class BushMessage extends Message {
channel: BushTextChannel | BushDMChannel | BushNewsChannel | BushThreadChannel
) {
super(client, data, channel);
- this.util = new BushCommandUtil(this.client.commandHandler, this);
- this.client.console.debug(this.util);
+ // this.util = new BushCommandUtil(this.client.commandHandler, this);
}
}