mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 08:14:47 +02:00
Use octree with optimizer
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user