mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Promise Rejector Added Back
This commit is contained in:
@@ -182,8 +182,8 @@ client.once('ready', () => {
|
||||
client.user.setGame(";help | dragonfire535");
|
||||
});
|
||||
|
||||
//process.on('unhandledRejection', function(reason, p){
|
||||
// console.log("A Possibly Unhandled Rejection has Occurred.");
|
||||
//});
|
||||
process.on('unhandledRejection', function(reason, p){
|
||||
console.log("A Possibly Unhandled Rejection has Occurred.");
|
||||
});
|
||||
|
||||
client.login(config.token);
|
||||
Reference in New Issue
Block a user