Open mathgeek opened 2 years ago
Decide how to handle command callback typing. Currently it's (bot, message) => void with most of the handlers actually returning a Promise or Promise. Should we bubble up the promises? Go through and explicitly type them as well.
https://github.com/Lichess4545/Chesster/pull/388#discussion_r744190381
Decide how to handle command callback typing. Currently it's (bot, message) => void with most of the handlers actually returning a Promise or Promise. Should we bubble up the promises? Go through and explicitly type them as well.
https://github.com/Lichess4545/Chesster/pull/388#discussion_r744190381