Skip to content

Modmail crashing when modmail channel gets deleted #819

@Ekolllon

Description

@Ekolllon

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 ()
R at new Message (/home/node/node_modules/eris/lib/structures/Message.js:85:54)
R at Collection.add (/home/node/node_modules/eris/lib/util/Collection.js:61:13)
P at Shard.wsEvent (/home/node/node_modules/eris/lib/gateway/Shard.js:946:55)
( ...stack trace truncated to 8 lines

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions