Use octree with optimizer

This commit is contained in:
Dragon Fire
2024-04-25 00:51:13 -04:00
parent 3eed5c373b
commit 0711f5a43d
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ module.exports = class EjectCommand extends Command {
imposter = bool()(random);
}
const text = `${user.username} was${imposter ? ' ' : ' not '}An Imposter.`;
const encoder = new GIFEncoder(320, 180);
const encoder = new GIFEncoder(320, 180, 'octree', true);
const canvas = createCanvas(320, 180);
const ctx = canvas.getContext('2d');
ctx.textAlign = 'center';