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}`;