diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-01 20:40:09 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-01 20:40:09 -0400 |
commit | 611ad3ec99a3d1bd4d608e4bdd2bf5e9f4da9a47 (patch) | |
tree | 9b42906472777b75a8a12731d0825469c1ba89e2 /src | |
parent | 2b06a59c57fdf7aad217d63db875cdb3d8868036 (diff) | |
download | tanzanite-611ad3ec99a3d1bd4d608e4bdd2bf5e9f4da9a47.tar.gz tanzanite-611ad3ec99a3d1bd4d608e4bdd2bf5e9f4da9a47.tar.bz2 tanzanite-611ad3ec99a3d1bd4d608e4bdd2bf5e9f4da9a47.zip |
clean up
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/dev/eval.ts | 21 | ||||
-rw-r--r-- | src/lib/extensions/discord-akairo/BushCommandUtil.ts | 4 | ||||
-rw-r--r-- | src/lib/extensions/discord.js/BushMessage.ts | 7 |
3 files changed, 5 insertions, 27 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts index f1509aa..a7e5de6 100644 --- a/src/commands/dev/eval.ts +++ b/src/commands/dev/eval.ts @@ -204,28 +204,7 @@ export default class EvalCommand extends BushCommand { output = 21; } else { output = eval(code.js); - //// const menuRow = new MessageActionRow().addComponents( - //// new MessageSelectMenu({ - //// customID: 'test', - //// options: [ - //// { label: '1', value: '1', default: false }, - //// { label: '2', value: '2', default: false }, - //// { label: '3', value: '3', default: false }, - //// { label: '4', value: '4', default: false }, - //// { label: '5', value: '5', default: false }, - //// { label: '6', value: '6', default: false }, - //// { label: '7', value: '7', default: false }, - //// { label: '8', value: '8', default: false }, - //// { label: '9', value: '9', default: false } - //// ] - //// }) - //// ); - //// message.channel.send({ - //// content: 'test', - //// components: [menuRow] - //// }); output = await output; - //// this.client.console.debug(inspect(message, { depth: 0, colors: true })); } let proto, outputProto; if (args.show_proto) { 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); } } |