diff --git a/commands/message/info/guild.js b/commands/message/info/guild.js index 31ba668..f554721 100644 --- a/commands/message/info/guild.js +++ b/commands/message/info/guild.js @@ -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) } diff --git a/commands/message/info/invite.js b/commands/message/info/invite.js index a69f8f1..8b2ca7a 100644 --- a/commands/message/info/invite.js +++ b/commands/message/info/invite.js @@ -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.")) } }, }; \ No newline at end of file