mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
a bunch of things also deepai
This commit is contained in:
parent
aec828beb5
commit
0c4e48bd39
9 changed files with 219 additions and 6 deletions
|
@ -14,12 +14,12 @@ module.exports = {
|
|||
},
|
||||
run: async (context, args) => {
|
||||
context.triggerTyping();
|
||||
let u;
|
||||
if(!args.user) { u = context.user } else { u = await getUser(context, args.user) }
|
||||
if(!u) return editOrReply(context, { embeds: [createEmbed("warning", context, "No users found.")] })
|
||||
let u = {};
|
||||
if(!args.user) { u.user = context.user } else { u = await getUser(context, args.user) }
|
||||
if(!u.user) return editOrReply(context, { embeds: [createEmbed("warning", context, "No users found.")] })
|
||||
return editOrReply(context, { embeds: [createEmbed("default", context, {
|
||||
image: {
|
||||
url: u.avatarUrl + '?size=4096'
|
||||
url: u.user.avatarUrl + '?size=4096'
|
||||
}
|
||||
})] })
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue