Modmail crashing when modmail channel gets deleted
Here is the error message:
0Starting Modmail 3.8.0 on Node.js 20.17.0 (x64) )Loading configuration from config.ini... Configuration ok! Using an SQLite database: /home/node/db/data.sqlite Preparing plugins... Connecting to Discord... 6Connected! Waiting for servers to become available... Initializing... Loading plugins... <Loaded 17 plugins (17 built-in plugins, 0 external plugins)
Done! Now listening to DMs.
"Logged in as modmail#6814
4[NOTE] Creating new thread channel kullskull9961
-[NOTE] Creating new thread channel skaj9055_
4Closing thread 70eba9ac-5d63-48eb-80e7-576da55de603
%Deleting channel 1329559377857744917
,Error: Error: Invalid channel ID: undefined
N at Client.getChannel (/home/node/node_modules/eris/lib/Client.js:2447:13)
R at new Message (/home/node/node_modules/eris/lib/structures/Message.js:65:33)
D at /home/node/node_modules/eris/lib/structures/Message.js:94:21
at Array.map (
See #812