diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-27 15:42:31 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-27 15:42:31 -0400 |
commit | 6ffa1bae9a502d3bf52a71ed1b7a6f3d989b4abe (patch) | |
tree | 3b0677337005926040b626f07e4d05e03c04f61d /src/commands/info | |
parent | bf9c58c3d658327d2f97a0975d8cb5ae0a4db723 (diff) | |
download | tanzanite-6ffa1bae9a502d3bf52a71ed1b7a6f3d989b4abe.tar.gz tanzanite-6ffa1bae9a502d3bf52a71ed1b7a6f3d989b4abe.tar.bz2 tanzanite-6ffa1bae9a502d3bf52a71ed1b7a6f3d989b4abe.zip |
I think I am loosing my mind
Diffstat (limited to 'src/commands/info')
-rw-r--r-- | src/commands/info/avatar.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/commands/info/avatar.ts b/src/commands/info/avatar.ts index 7654d2f..33393b8 100644 --- a/src/commands/info/avatar.ts +++ b/src/commands/info/avatar.ts @@ -1,4 +1,4 @@ -import { MessageEmbed, User } from 'discord.js'; +import { CommandInteraction, MessageEmbed, User } from 'discord.js'; import { BushCommand, BushMessage, BushSlashMessage } from '../../lib'; export default class AvatarCommand extends BushCommand { @@ -36,6 +36,9 @@ export default class AvatarCommand extends BushCommand { } override async exec(message: BushMessage | BushSlashMessage, args: { user: User }): Promise<void> { + client.console.debugRaw(args); + client.console.debugRaw(message.interaction); + client.console.debugRaw((message.interaction as CommandInteraction).options.getUser('user')); const user = args.user ?? message.author; const embed = new MessageEmbed() |