diff --git a/commands/pasta.js b/commands/pasta.js index 6083358..5c955e0 100644 --- a/commands/pasta.js +++ b/commands/pasta.js @@ -13,6 +13,6 @@ module.exports = { } else { replyBody = client.pastas.get(file.name).content; } - message.channel.send(functions.createTextEmbed({ content: replyBody }, message.author, `${file.name}.${file.extension}`)); + message.channel.send(functions.textEmbed(replyBody, message.author, `${file.name}.${file.extension}`)); } } \ No newline at end of file