petit truc gitignore

This commit is contained in:
VALOU3336
2024-02-24 23:19:07 +01:00
parent c6ac681a58
commit 29a947d942
2 changed files with 9 additions and 1 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
.env
/node_modules
.vscode
json.sqlite
json.sqlite
mybot.js
changelog.js
+6
View File
@@ -4,6 +4,12 @@ module.exports = {
name: Events.ClientReady,
async execute(client) {
console.log(`le bot ${client.user.tag} est en ligne`)
process.on('uncaughtException', (error) => {
console.error('Uncaught Exception:', error);
});
process.on('unhandledRejection', (reason, promise) => {
console.error('Unhandled Rejection at:', promise, 'reason:', reason);
});
}
};