From f112be3efef229c3ca47605afd36ac8604f5ad6a Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Sun, 22 Jan 2023 18:03:54 +0700 Subject: [PATCH] add todo --- plugins/music.js | 2 ++ 1 file changed, 2 insertions(+) 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)