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