Skip to content

Creating a thread in an educational only channel will make the bot falsely send a dm warning to not send normal messages in the channel #546

@Alathreon

Description

@Alathreon

Context
Educational channels are channel where only images, videos, etc are supposed to be posted, and to discuss them, a thread is supposed to be created to not flood the channel.
Since recently, in order to help mods, the bot will delete and warn the user in a message without an image, link, etc.
The warning is a dm containing an explanation and the message that was deleted.

Describe the bug
If an user create a thread in an educational channel, the bot will fasely claim that the "message" shouldn't be here and so will send a warning in a dm to the user, containing the title of the thread.
But, while the bot normaly delete the message, this time, it won't delete the thread (I guess because it can't since it's not a message ?), it's important to note, the bot will only send a warning, it won't delete the thread.
Also note that here, I am specifically explaining things if the user create a thread on an existing message, but if the user create a thread without an existing message, thread creation message will be deleted but the thread won't, so the thread will be unreachable from the channel... so in this case, the thread should be deleted.

Expected behavior
An user should not get a warning for creating a thread on an existing message.

To Reproduce

  • Mouseover a message in an educational channel
  • Click on "create a thread" on this message
  • Give a title and a first message for the thread
  • You should get a warning in dm

And for the alternative, which will delete the thread creation message but not the attached thread which will make it unreachable :

  • Click on the "+" symbol at the left of the text area
  • Click on "create a thread"
  • Give a name and a first message
  • The text creation message will be deleted, but not the thread, making it unreachable basically and a warning will be sent in a dm

Screenshots
image
image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions