Added a small hack to make sonic work again
This commit is contained in:
parent
1ecae70c41
commit
1c9d40041b
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ exports.run = async (message, args) => {
|
|||
gm(474, 332).out("+size").background("none").gravity("Center").out("-pointsize", 72).out("-font", "Bitstream Vera Sans").out(`pango:<span foreground="white">${wrap(cleanedMessage, {width: 15, indent: ""})}</span>`).write(file, async (error) => {
|
||||
if (error) throw error;
|
||||
const command = gm(template).composite(file).gravity("Center").geometry("474x332+160+10");
|
||||
const buffer = await gmToBuffer(command, "png");
|
||||
const buffer = await gmToBuffer(command, "png", "sonic");
|
||||
return message.channel.createMessage("", {
|
||||
file: buffer,
|
||||
name: "sonic.png"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue