Ticket-Bot icon indicating copy to clipboard operation
Ticket-Bot copied to clipboard

Ticket can't be deleted and no logs is generated

Open MD1778 opened this issue 3 years ago • 1 comments

Stuck at "Sauvegarde des messages..."

CONSOL:

 (node:922) DeprecationWarning: Passing strings for MessageEmbed#setAuthor is deprecated. Pass a sole object instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:922) DeprecationWarning: Passing strings for MessageEmbed#setFooter is deprecated. Pass a sole object instead.
/home/container/events/interactionCreate.js:266
            client.channels.cache.get(client.config.logsTicket).send({
                                                                ^

TypeError: client.channels.cache.get(...).send is not a function
    at /home/container/events/interactionCreate.js:266:65
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

MD1778 avatar Jun 05 '22 15:06 MD1778

Hey, the id of logs channel is invalid, so the bot can't find the channel in his cache

Derpinou avatar Jun 07 '22 06:06 Derpinou