From 3b57513a8175c53d9ef399e7651902922638291e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 14 Jun 2020 22:17:03 -0400 Subject: [PATCH] Fix --- commands/edit-image/undertale.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/edit-image/undertale.js b/commands/edit-image/undertale.js index 93e57816..60248968 100644 --- a/commands/edit-image/undertale.js +++ b/commands/edit-image/undertale.js @@ -86,17 +86,17 @@ module.exports = class UndertaleCommand extends Command { switch (character) { case 'sans': font = 'UndertaleSans'; - text = text.toLowerCase(); + quote = quote.toLowerCase(); break; case 'papyrus': font = 'UndertalePapyrus'; - text = text.toUpperCase(); + quote = quote.toUpperCase(); break; case 'napstablook': - text = text.toLowerCase(); + quote = quote.toLowerCase(); break; case 'temmie': - text = this.client.registry.commands.get('temmie').temmize(text); + quote = this.client.registry.commands.get('temmie').temmize(quote); break; } ctx.font = `31px ${font}`;