diff options
Diffstat (limited to 'src/commands/info/userInfo.ts')
-rw-r--r-- | src/commands/info/userInfo.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/info/userInfo.ts b/src/commands/info/userInfo.ts index 5f4a1bd..cb2fc5f 100644 --- a/src/commands/info/userInfo.ts +++ b/src/commands/info/userInfo.ts @@ -47,7 +47,7 @@ export default class UserInfoCommand extends BushCommand { public override async exec(message: BushMessage | BushSlashMessage, args: { user: ArgType<'user'> | ArgType<'snowflake'> }) { const user = - args?.user === undefined || args?.user === null + args.user === null ? message.author : typeof args.user === 'object' ? args.user |