makecord-create
Version:
Create advanced Discord Bots with Makecord - Now with TypeScript support
27 lines (22 loc) • 1.34 kB
JavaScript
const chalk = require('chalk');
const gradient = require('gradient-string');
const logger = {
error: (...args) => console.log(chalk.red('[ERROR]'), ...args),
info: (...args) => console.log(chalk.blue('[INFO]'), ...args),
warning: (...args) => console.log(chalk.yellow('[WARNING]'), ...args),
success: (...args) => console.log(chalk.green('[SUCCESS]'), ...args)
};
const asciiArt = `
+@@@@- :@@@@@ :### *##=
@@@@@@ %@@@@@: =#%@@@#+ -@@@ .*##*. -*%@@@#+ =#%@@@%+ =#%@@@%+. .###-#%% .*%@@%=%@@*
.@@@*@@*+@@+@@@- +++++%@@% -@@@+@@%- *@@% @@% %@@@ %@@#--+@@@-:@@@@#**.@@@%=-+@@@*
:@@@ @@@@@% @@@+ *@@#*#@@@.-@@@+@@@- %@@@****** @@@* @@@- @@@+:@@@= :@@@= %@@*
-@@% -@@@@: #@@* @@@+=#@@@.-@@@ -@@@* :%@@@%%%@# -@@@@%%@@ =@@@%%@@@* :@@@: *@@@%%%@@@*
`;
function showStartupBanner() {
console.log(gradient.pastel.multiline(asciiArt));
console.log(gradient.pastel('https://npmjs.com/makecord-create'));
console.log(gradient.pastel('This bot created with Makecord | Makecord by LuziXP'));
console.log('\n');
}
module.exports = { logger, showStartupBanner, asciiArt };