mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-22 07:43:08 +02:00
fix: log banner colours on Pterodactyl
This commit is contained in:
parent
18e63bf2dc
commit
e6f87a8bf5
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
const pkg = require('../package.json');
|
const pkg = require('../package.json');
|
||||||
const banner = require('./lib/banner');
|
const banner = require('./lib/banner');
|
||||||
console.log(banner(pkg.version)); // print big title
|
banner(pkg.version); // print big title
|
||||||
|
|
||||||
const semver = require('semver');
|
const semver = require('semver');
|
||||||
const { colours } = require('leeks.js');
|
const { colours } = require('leeks.js');
|
||||||
|
@ -1,9 +1,20 @@
|
|||||||
|
/* eslint-disable no-console */
|
||||||
const { colours } = require('leeks.js');
|
const { colours } = require('leeks.js');
|
||||||
const figlet = require('figlet');
|
const figlet = require('figlet');
|
||||||
const link = require('terminal-link');
|
const link = require('terminal-link');
|
||||||
|
|
||||||
module.exports = version => colours.cyan(figlet.textSync('Discord', { font: 'Banner3' })) +
|
module.exports = version => {
|
||||||
colours.cyan('\n\n' + figlet.textSync('Tickets', { font: 'Banner3' })) +
|
figlet
|
||||||
colours.cyanBright(`\n\n${link('Discord Tickets', 'https://discordtickets.app')} bot v${version} by eartharoid`) +
|
.textSync('Discord', { font: 'Banner3' })
|
||||||
colours.cyanBright('\nSponsor this project at https://discordtickets.app/sponsor') +
|
.split('\n')
|
||||||
'\n\n';
|
.forEach(line => console.log(colours.cyan(line)));
|
||||||
|
console.log('');
|
||||||
|
figlet
|
||||||
|
.textSync('Tickets', { font: 'Banner3' })
|
||||||
|
.split('\n')
|
||||||
|
.forEach(line => console.log(colours.cyan(line)));
|
||||||
|
console.log('');
|
||||||
|
console.log(colours.cyanBright(`${link('Discord Tickets', 'https://discordtickets.app')} bot v${version} by eartharoid`));
|
||||||
|
console.log(colours.cyanBright('Sponsor this project at https://discordtickets.app/sponsor'));
|
||||||
|
console.log('\n');
|
||||||
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user