diff --git a/README.md b/README.md index a92c472..858d5ff 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,10 @@ You can also join me on my discord server.< ## v1.1.12 - Saved all examples to imgur +## v1.1.13 +- Added example for .tatoo() +- Fixed the litle hole at the top of the users pic on .thomas() + # Download @@ -178,4 +182,8 @@ bot.login("super_secret_token") - .thomas(``); -![Thomas](https://imgur.com/5Iv6t9v.png) \ No newline at end of file +![Thomas](https://imgur.com/5Iv6t9v.png) + +- .tatoo(``) + +![Tatoo](https://imgur.com/wJju4UJ.png) \ No newline at end of file diff --git a/package.json b/package.json index a512123..2c5a38e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord-image-generation", - "version": "0.1.12", + "version": "0.1.13", "description": "discord-image-generation is a powerfull module that allow you to generate awesome images.", "main": "src/index.js", "scripts": { diff --git a/src/module/DIG.js b/src/module/DIG.js index e378cf1..7a38662 100644 --- a/src/module/DIG.js +++ b/src/module/DIG.js @@ -432,13 +432,13 @@ class DIG { const ctx = canvas.getContext("2d"); const avatar = await Canvas.loadImage(image); const background = await Canvas.loadImage(__dirname +"/assets/thomas.png"); - ctx.drawImage(avatar, 220, 200, 400, 400); + ctx.drawImage(avatar, 220, 190, 400, 400); ctx.drawImage(background, 0, 0, 841, 1058); return canvas.toBuffer(); } /** - * Thomas + * Tatoo * @param {image} image */ static async tatoo(image) {