mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
OTF Format Font
This commit is contained in:
@@ -3,7 +3,7 @@ const { MersenneTwister19937, integer } = require('random-js');
|
|||||||
const { createCanvas, loadImage, registerFont } = require('canvas');
|
const { createCanvas, loadImage, registerFont } = require('canvas');
|
||||||
const request = require('node-superfetch');
|
const request = require('node-superfetch');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Pinky Cupid.ttf'), { family: 'Pinky Cupid' });
|
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Pinky Cupid.otf'), { family: 'Pinky Cupid' });
|
||||||
|
|
||||||
module.exports = class ShipCommand extends Command {
|
module.exports = class ShipCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
Reference in New Issue
Block a user