mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-03 23:36:35 +02:00
petit truc gitignore
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
.env
|
||||
/node_modules
|
||||
.vscode
|
||||
json.sqlite
|
||||
json.sqlite
|
||||
mybot.js
|
||||
changelog.js
|
||||
@@ -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);
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user