mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 22:23:03 -04:00
fix error
This commit is contained in:
parent
c7eb863bb5
commit
6d4db0deca
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module.exports = {
|
||||||
context.triggerTyping();
|
context.triggerTyping();
|
||||||
if(!args.user) args.user = context.userId;
|
if(!args.user) args.user = context.userId;
|
||||||
let u = await getUser(context, args.user)
|
let u = await getUser(context, args.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.")] })
|
||||||
|
|
||||||
const avatar = u.user.avatarUrl + '?size=512'
|
const avatar = u.user.avatarUrl + '?size=512'
|
||||||
try{
|
try{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue