forwards-long-jump / discotron

Modular Discord bot supporting plugins hosted on git repositories
MIT License
3 stars 5 forks source link

Convert some promise chains to async/await for easier readability #137

Closed RedMser closed 4 years ago

RedMser commented 4 years ago

Close #90

Each function is its own commit, to easily revert when desired. Only converted promise chains with 2 .thens where it isn't clear what's happening (due to nesting), or when async/await makes more logical sense (e.g. running 5 functions one after another without processing any data).