major cleanup

This commit is contained in:
derpystuff 2023-11-04 17:29:06 +01:00
parent ddd918470e
commit a8cf49e31e
60 changed files with 537 additions and 619 deletions

View file

@ -28,7 +28,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) return editOrReply(context, createEmbed("warning", context, "No users found."))
let m = user.member
// User Card
@ -82,7 +82,7 @@ module.exports = {
inline: true
})
}
return editOrReply(context, { embeds: [userCard] })
return editOrReply(context, userCard)
}catch(e){
console.log(e)
}