diff --git a/plugins/music.js b/plugins/music.js index 9c442e9..aeee034 100644 --- a/plugins/music.js +++ b/plugins/music.js @@ -106,6 +106,8 @@ function inject (bot) { song.name = fallbackName break default: + // TODO: use worker_threads so the entire bot doesn't freeze (for example parsing we are number 1 black midi) + // eslint-disable-next-line no-case-declarations const midi = new Midi(buffer) song = convertMidi(midi)