From 1b3903447cf0bbed75c53b9dd910bbae5bc00a1f Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sun, 2 May 2021 00:37:12 -0500 Subject: [PATCH] Fix message author object --- bot/awesomescibo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/awesomescibo.js b/bot/awesomescibo.js index 18a4016..4323cac 100755 --- a/bot/awesomescibo.js +++ b/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()}`); }); }); }