From 986a3dd9802742c821be54718eef459bae2a99f4 Mon Sep 17 00:00:00 2001 From: = Date: Sat, 31 Jul 2021 18:33:48 -0400 Subject: [PATCH] function name update --- commands/pasta.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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