aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-27 14:45:41 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-27 14:45:41 -0400
commitbf9c58c3d658327d2f97a0975d8cb5ae0a4db723 (patch)
tree583325c0551878ccb7135b1493303fd07a3a89c9 /src/commands/info
parente9b7628a7429a013f5dcf3db5fdfb0d087c0cd81 (diff)
downloadtanzanite-bf9c58c3d658327d2f97a0975d8cb5ae0a4db723.tar.gz
tanzanite-bf9c58c3d658327d2f97a0975d8cb5ae0a4db723.tar.bz2
tanzanite-bf9c58c3d658327d2f97a0975d8cb5ae0a4db723.zip
consistency and more work on settings command
Diffstat (limited to 'src/commands/info')
-rw-r--r--src/commands/info/avatar.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/info/avatar.ts b/src/commands/info/avatar.ts
index 7100afa..7654d2f 100644
--- a/src/commands/info/avatar.ts
+++ b/src/commands/info/avatar.ts
@@ -35,8 +35,8 @@ export default class AvatarCommand extends BushCommand {
});
}
- override async exec(message: BushMessage | BushSlashMessage, { user }: { user: User }): Promise<void> {
- user = user ?? message.author;
+ override async exec(message: BushMessage | BushSlashMessage, args: { user: User }): Promise<void> {
+ const user = args.user ?? message.author;
const embed = new MessageEmbed()
.setTimestamp()