discord-emoji-canvas
An easy to use module for canvas which supports custom emojis of discord!!
Installing
npm i discord-emoji-canvas
Getting Started
- Typescript
ctx.fillStyle = '#ffffff' //selecting any color, i can only remember the hex of white x)await fillWithEmojictx,"hello",20,20 //context,text(supports emoji),x,y
- Javascript
const CanvasfillWithEmoji = const canvas = Canvas // creating a canvasconst ctx = canvas //contextctxfillStyle = '#ffffff' //selecting any color, i can only remember the hex of white x)await //context,text(supports emoji),x,yconst buffer = canvas