Browse Source

Specify what is timing out

pull/1/head
Abheek Dhawan 4 years ago
parent
commit
24fb291343
  1. 4
      bot/awesomescibo.mjs
  2. 2
      bot/package.json

4
bot/awesomescibo.mjs

@ -273,12 +273,12 @@ client.on('message', async message => {
}
})
.catch(collected => {
message.reply("\n**TIMEOUT**");
message.reply("\n**REACTION TIMEOUT**");
})
})
.catch (collected => {
console.log(collected);
message.channel.send('\n**TIMEOUT**');
message.channel.send('\n**ANSWER TIMEOUT**');
})
})
})

2
bot/package.json

@ -5,7 +5,7 @@
"node-fetch": "^2.6.1"
},
"name": "awscibo",
"version": "0.0.5",
"version": "0.0.7",
"main": "awesomescibo.mjs",
"bin": {
"awscibo": "./awesomescibo.mjs"

Loading…
Cancel
Save