mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 13:53:12 +02:00
Fix
This commit is contained in:
@@ -101,28 +101,28 @@ module.exports = class UndertaleCommand extends Command {
|
||||
const ctx = canvas.getContext('2d');
|
||||
ctx.drawImage(base, 0, 0);
|
||||
let font = 'DeterminationMono';
|
||||
let space = 6;
|
||||
let space = -3;
|
||||
switch (character) {
|
||||
case 'sans':
|
||||
font = 'UndertaleSans';
|
||||
quote = quote.toLowerCase();
|
||||
space = 5;
|
||||
space = -4;
|
||||
break;
|
||||
case 'papyrus':
|
||||
font = 'UndertalePapyrus';
|
||||
quote = quote.toUpperCase();
|
||||
space = 4;
|
||||
space = -5;
|
||||
break;
|
||||
case 'napstablook':
|
||||
quote = quote.toLowerCase();
|
||||
break;
|
||||
case 'gaster':
|
||||
font = 'Pixelated Wingdings';
|
||||
space = 5;
|
||||
space = -4;
|
||||
break;
|
||||
case 'ness':
|
||||
font = 'Apple Kid';
|
||||
space = 7;
|
||||
space = -2;
|
||||
break;
|
||||
case 'temmie':
|
||||
quote = this.client.registry.commands.get('temmie').temmize(quote);
|
||||
|
||||
Reference in New Issue
Block a user