mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
fix no user error
This commit is contained in:
parent
eb603ef4c2
commit
5efe7023a1
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ module.exports = {
|
|||
if(!args.user) { args.user = context.user.id }
|
||||
user = await getUser(context, args.user)
|
||||
u = user.user
|
||||
if(!u) return editOrReply(context, { embeds: [createEmbed("warning", context, "No users found.")] })
|
||||
if(!u || !u.user) return editOrReply(context, { embeds: [createEmbed("warning", context, "No users found.")] })
|
||||
let m = user.member
|
||||
|
||||
// User Card
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue