Closed MX1D closed 2 years ago
Until I get around to fixing this, you can set custom callbacks that are patched, just use the following callbacks option:
callbacks: {
resolveChannel: (id) => client.channels.fetch(id).catch(err => null),
resolveUser: (id) => client.users.fetch(id).catch(err => null),
resolveRole: channel.isDMBased() ? () => null : async (id) => channel.guild?.roles.fetch(id).catch(err => null),
}
If one of the messages included a mention for a deleted/invalid channel it would make it error, here's an example of the error