mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-06-22 06:04:20 +00:00
chore: update formating
This commit is contained in:
parent
ca24d57fd0
commit
04945bfebd
3 changed files with 16 additions and 5 deletions
|
@ -67,7 +67,12 @@ export async function generateMemberBanner({
|
|||
width,
|
||||
height,
|
||||
}: generateMemberBannerTypes): Promise<AttachmentBuilder> {
|
||||
const welcomeBackground = path.join(__dirname, 'assets', 'images', 'welcome-bg.png');
|
||||
const welcomeBackground = path.join(
|
||||
__dirname,
|
||||
'assets',
|
||||
'images',
|
||||
'welcome-bg.png',
|
||||
);
|
||||
const canvas = Canvas.createCanvas(width, height);
|
||||
const context = canvas.getContext('2d');
|
||||
const background = await Canvas.loadImage(welcomeBackground);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue