There are various situations where asynchronous code is not really async, but instead blocks executions by using await. In order to optimize the bot, changes would be necessary.
A solution would be using function().then() instead of let variable = await function().
There are various situations where asynchronous code is not really
async, but instead blocks executions by usingawait. In order to optimize the bot, changes would be necessary.A solution would be using
function().then()instead oflet variable = await function().