From 2715b7bb27ae931f9f9513e980ce0c3088a408ed Mon Sep 17 00:00:00 2001 From: = Date: Tue, 13 Jul 2021 21:16:36 -0400 Subject: [PATCH] Removing redundant file.name --- commands/spongebob.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/spongebob.js b/commands/spongebob.js index de4d8f8..3511e72 100644 --- a/commands/spongebob.js +++ b/commands/spongebob.js @@ -16,6 +16,6 @@ module.exports = { flipper = 0; } } - message.channel.send(functions.createTextEmbed({ content: newText }, message.author, `${file.name}.${file.extension}`)); + message.channel.send(functions.createTextEmbed({ content: newText }, message.author, `.${file.extension}`)); } } \ No newline at end of file