codinglab-io / discord-bot

Discord bot for Codinglab's server.
https://discord.com/invite/codinglab-174169014568878080
MIT License
19 stars 14 forks source link

fix: use the quoifeurbot in public thread of allowed channels #73

Closed dilaouid closed 1 year ago

dilaouid commented 1 year ago

As the title says, when I say "quoi" in a thread created in an allowed channel, the bot doesn't react. This is due to the fact that the message's channel parentId is not being verified.

(link of that property in the documentation: https://old.discordjs.dev/#/docs/discord.js/14.13.0/class/ThreadChannel?scrollTo=parentId)

ayoubqrt commented 1 year ago

LGTM