mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Clean Up Fonts
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -3,7 +3,7 @@ const { createCanvas, loadImage, registerFont } = require('canvas');
|
||||
const request = require('node-superfetch');
|
||||
const path = require('path');
|
||||
const { greyscale } = require('../../util/Canvas');
|
||||
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'CoffinStone-vmmZL.otf'), { family: 'Coffin Stone' });
|
||||
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'CoffinStone.otf'), { family: 'Coffin Stone' });
|
||||
|
||||
module.exports = class RipCommand extends Command {
|
||||
constructor(client) {
|
||||
|
||||
@@ -4,8 +4,6 @@ const request = require('node-superfetch');
|
||||
const path = require('path');
|
||||
const { centerImagePart, greyscale } = require('../../util/Canvas');
|
||||
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'PokemonGb.ttf'), { family: 'Pokemon GB' });
|
||||
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'PokemonGbJapanHr.ttf'), { family: 'Pokemon GB' });
|
||||
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'PokemonGbJapanKt.ttf'), { family: 'Pokemon GB' });
|
||||
|
||||
module.exports = class WildPokemonCommand extends Command {
|
||||
constructor(client) {
|
||||
|
||||
@@ -5,7 +5,7 @@ const { stripIndents } = require('common-tags');
|
||||
const { shuffle, randomRange } = require('../../util/Util');
|
||||
const { drawImageWithTint } = require('../../util/Canvas');
|
||||
const horses = require('../../assets/json/horse-race');
|
||||
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Paladins-nl8P.otf'), { family: 'Paladins' });
|
||||
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Paladins.otf'), { family: 'Paladins' });
|
||||
const colors = ['gold', 'silver', '#cd7f32'];
|
||||
|
||||
module.exports = class HorseRaceCommand extends Command {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "117.11.0",
|
||||
"version": "117.11.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user