Browse Source

Fix message author object

pull/9/head
Abheek Dhawan 4 years ago
parent
commit
1b3903447c
  1. 2
      bot/awesomescibo.js

2
bot/awesomescibo.js

@ -346,7 +346,7 @@ async function generateRound(message) {
message.channel.messages.fetch(generatingMessage.id)
.then(message => {
const msg = message.first();
msg.edit(`${generatingMessage.author}, here's your round: https://api.adawesome.tech/round/${round._id.toString()}`);
msg.edit(`${msg.author}, here's your round: https://api.adawesome.tech/round/${round._id.toString()}`);
});
});
}

Loading…
Cancel
Save