Skip to content

Handle async code correctly #32

Description

@Zebiano

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().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority: Medium 🌪️You should probably go take a look. Maybe this week still?Type: Enhancement ⏫Somebody says your code could be better! And they're probably right.Type: TODO 📝Let me guess: there are a lot?

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions