try again
This commit is contained in:
parent
543173ebee
commit
6ca88c8a76
|
|
@ -15,3 +15,11 @@ const client = new Client({
|
|||
await client.login(process.env.DISCORD_TOKEN)
|
||||
|
||||
listenForEvents(client)
|
||||
|
||||
process.on("unhandledRejection", (error) => {
|
||||
console.error("Unhandled promise rejection:", error)
|
||||
})
|
||||
|
||||
process.on("uncaughtException", (error) => {
|
||||
console.error("Uncaught exception:", error)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user