tested & working basic bot
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import chalk from "chalk";
|
||||
|
||||
const verbose = process.argv.includes("--verbose");
|
||||
|
||||
export function logError(...args: unknown[]) {
|
||||
console.log(chalk.red(args));
|
||||
}
|
||||
@@ -15,7 +13,5 @@ export function logSuccess(...args: unknown[]) {
|
||||
}
|
||||
|
||||
export function logInfo(...args: unknown[]) {
|
||||
if (verbose) {
|
||||
console.log(chalk.cyan(args));
|
||||
}
|
||||
console.log(chalk.cyan(args));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user