mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
invite error message
This commit is contained in:
parent
eb77a9896c
commit
19cab912df
2 changed files with 3 additions and 3 deletions
|
@ -99,7 +99,7 @@ module.exports = {
|
|||
guildCard.fields = guildCard.fields.concat(featureCards)
|
||||
}
|
||||
|
||||
return editOrReply(context, { embeds: [guildCard] })
|
||||
return editOrReply(context, guildCard)
|
||||
}catch(e){
|
||||
console.log(e)
|
||||
}
|
||||
|
|
|
@ -55,9 +55,9 @@ module.exports = {
|
|||
inviteCard.fields = inviteCard.fields.concat(featureCards)
|
||||
}
|
||||
|
||||
return editOrReply(context, { embeds: [inviteCard] })
|
||||
return editOrReply(context, inviteCard)
|
||||
}catch(e){
|
||||
console.log(e)
|
||||
return editOrReply(context, createEmbed("error", context, "Unable to fetch invite link."))
|
||||
}
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue