This commit is contained in:
Daniel Odendahl Jr
2017-09-11 19:44:33 +00:00
parent 28dff06362
commit 9493c6cc68
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,9 +3,9 @@ const { createCanvas, loadImage, registerFont } = require('canvas');
const snekfetch = require('snekfetch'); const snekfetch = require('snekfetch');
const path = require('path'); const path = require('path');
const { version } = require('../../package'); const { version } = require('../../package');
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto.ttf'), { family: 'Noto' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-Emoji.ttf'), { family: 'Noto' }); registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-Emoji.ttf'), { family: 'Noto' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-JP.otf'), { family: 'Noto' }); registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-JP.otf'), { family: 'Noto' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto.ttf'), { family: 'Noto' });
module.exports = class CardCommand extends Command { module.exports = class CardCommand extends Command {
constructor(client) { constructor(client) {
+1 -1
View File
@@ -2,9 +2,9 @@ const Command = require('../../structures/Command');
const { createCanvas, loadImage, registerFont } = require('canvas'); const { createCanvas, loadImage, registerFont } = require('canvas');
const snekfetch = require('snekfetch'); const snekfetch = require('snekfetch');
const path = require('path'); const path = require('path');
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto.ttf'), { family: 'Noto' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-Emoji.ttf'), { family: 'Noto' }); registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-Emoji.ttf'), { family: 'Noto' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-JP.otf'), { family: 'Noto' }); registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-JP.otf'), { family: 'Noto' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto.ttf'), { family: 'Noto' });
module.exports = class SteamCardCommand extends Command { module.exports = class SteamCardCommand extends Command {
constructor(client) { constructor(client) {
+1 -1
View File
@@ -3,9 +3,9 @@ const { createCanvas, loadImage, registerFont } = require('canvas');
const snekfetch = require('snekfetch'); const snekfetch = require('snekfetch');
const path = require('path'); const path = require('path');
const { shorten } = require('../../structures/Util'); const { shorten } = require('../../structures/Util');
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto.ttf'), { family: 'Noto' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-Emoji.ttf'), { family: 'Noto' }); registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-Emoji.ttf'), { family: 'Noto' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-JP.otf'), { family: 'Noto' }); registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto-JP.otf'), { family: 'Noto' });
registerFont(path.join(__dirname, '..', '..', 'assets', 'fonts', 'Noto.ttf'), { family: 'Noto' });
module.exports = class SteamNowPlayingCommand extends Command { module.exports = class SteamNowPlayingCommand extends Command {
constructor(client) { constructor(client) {