Browse Source

Remove preemptive catch

master
Abheek Dhawan 4 years ago
parent
commit
28fbbdc565
  1. 2
      index.js

2
index.js

@ -140,7 +140,7 @@ async function ban(message) {
.setThumbnail(member.user.avatarURL()) .setThumbnail(member.user.avatarURL())
.setColor("fda172") .setColor("fda172")
.setTimestamp(); .setTimestamp();
message.channel.send(verificationEmbed).catch(console.error) message.channel.send(verificationEmbed)
.then(verificationEmbed => { .then(verificationEmbed => {
verificationEmbed.react('👍'); verificationEmbed.react('👍');
verificationEmbed.react('👎'); verificationEmbed.react('👎');

Loading…
Cancel
Save