UNPKG

spcanvas

Version:

Make configurable canvas easily with spcanvas

17 lines (15 loc) 529 B
const spcanvas = require("../../index"); module.exports = { async image() { const image = await new spcanvas.Spotify() .setAuthor("Alan Walker, Ava Max") .setAlbum("Alan Walker Album") .setBackground("image", "https://th.bing.com/th/id/R.0bbabe949adc2ea6c853eddad2f38519?rik=jshX8YIYBDnF4w&pid=ImgRaw&r=0") .setTimestamp(50000, 179000) .setImage("https://i.scdn.co/image/ab67616d00001e02df9a35baaa98675256b35177") .setTitle("Alone, Pt II") .build(); return image; }, name: "spotify" };