updated cleardatabase with chalk

This commit is contained in:
DJj123dj
2022-05-02 14:54:52 +02:00
parent 07de112f32
commit f163769de4
6 changed files with 66 additions and 36 deletions
+4 -4
View File
@@ -68,9 +68,9 @@ if (process.argv[2] != "slash"){
}
process.on('unhandledRejection',async (error) => {
const chalk = await (await import("chalk")).default
console.log(chalk.red("ERROR: ")+error)
})
//process.on('unhandledRejection',async (error) => {
// const chalk = await (await import("chalk")).default
// console.log(chalk.red("ERROR: ")+error)
//})
client.login(config.auth_token)