mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 13:56:43 +02:00
Mneh
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports = class BeautifulCommand extends Command {
|
|||||||
const [avatar, grunkle] = await Promise.all(images);
|
const [avatar, grunkle] = await Promise.all(images);
|
||||||
avatar.resize(117, 135);
|
avatar.resize(117, 135);
|
||||||
grunkle.composite(avatar, 341, 35);
|
grunkle.composite(avatar, 341, 35);
|
||||||
grunkle.composite(avatar, 342, 302);
|
grunkle.composite(avatar, 342, 301);
|
||||||
grunkle.getBuffer(Jimp.MIME_PNG, (err, buff) => {
|
grunkle.getBuffer(Jimp.MIME_PNG, (err, buff) => {
|
||||||
if (err) return msg.say('An Unknown Error Occurred.');
|
if (err) return msg.say('An Unknown Error Occurred.');
|
||||||
return msg.channel.send({files: [{attachment: buff}]});
|
return msg.channel.send({files: [{attachment: buff}]});
|
||||||
|
|||||||
Reference in New Issue
Block a user