BPM-for-Discord icon indicating copy to clipboard operation
BPM-for-Discord copied to clipboard

Discord load is slow with BPM installed

Open ByzantineFailure opened this issue 7 years ago • 0 comments

The integration code, which has remained largely untouched since it was initially written, uses only synchronous function calls to read all of BPM's files from the filesystem before execution inside the discord context.

This causes Discord's load to take several seconds. We should use async fs methods to read the files to alleviate this. This does mean it'll take a few seconds for our search button to pop up and for emotes to actually process and render after the load, but ideally things should just work (they won't just work it's never that simple send help)

ByzantineFailure avatar Jul 26 '17 16:07 ByzantineFailure