File tree 2 files changed +17
-6
lines changed
2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 25
25
26
26
const pkg = require ( '../package.json' ) ;
27
27
const banner = require ( './lib/banner' ) ;
28
- console . log ( banner ( pkg . version ) ) ; // print big title
28
+ banner ( pkg . version ) ; // print big title
29
29
30
30
const semver = require ( 'semver' ) ;
31
31
const { colours } = require ( 'leeks.js' ) ;
Original file line number Diff line number Diff line change
1
+ /* eslint-disable no-console */
1
2
const { colours } = require ( 'leeks.js' ) ;
2
3
const figlet = require ( 'figlet' ) ;
3
4
const link = require ( 'terminal-link' ) ;
4
5
5
- module . exports = version => colours . cyan ( figlet . textSync ( 'Discord' , { font : 'Banner3' } ) ) +
6
- colours . cyan ( '\n\n' + figlet . textSync ( 'Tickets' , { font : 'Banner3' } ) ) +
7
- colours . cyanBright ( `\n\n${ link ( 'Discord Tickets' , 'https://discordtickets.app' ) } bot v${ version } by eartharoid` ) +
8
- colours . cyanBright ( '\nSponsor this project at https://discordtickets.app/sponsor' ) +
9
- '\n\n' ;
6
+ module . exports = version => {
7
+ figlet
8
+ . textSync ( 'Discord' , { font : 'Banner3' } )
9
+ . split ( '\n' )
10
+ . forEach ( line => console . log ( colours . cyan ( line ) ) ) ;
11
+ console . log ( '' ) ;
12
+ figlet
13
+ . textSync ( 'Tickets' , { font : 'Banner3' } )
14
+ . split ( '\n' )
15
+ . forEach ( line => console . log ( colours . cyan ( line ) ) ) ;
16
+ console . log ( '' ) ;
17
+ console . log ( colours . cyanBright ( `${ link ( 'Discord Tickets' , 'https://discordtickets.app' ) } bot v${ version } by eartharoid` ) ) ;
18
+ console . log ( colours . cyanBright ( 'Sponsor this project at https://discordtickets.app/sponsor' ) ) ;
19
+ console . log ( '\n' ) ;
20
+ } ;
You can’t perform that action at this time.
0 commit comments