JavaBot icon indicating copy to clipboard operation
JavaBot copied to clipboard

allow users to create threads for their reports

Open danthe1st opened this issue 1 year ago • 6 comments

When reporting a user, this PR adds a button which automatically creates a private thread where the reporter can provide additional information.

image image image image

Deploy notes

The config moderationConfig.reportUserThreadHolderId needs to be set when this is used.

danthe1st avatar Mar 04 '24 10:03 danthe1st

bump

jasonlessenich avatar Mar 31 '24 07:03 jasonlessenich

Which channel in the server do you have in mind for being the thread parent?

liquiddevelopmentnet avatar Mar 31 '24 11:03 liquiddevelopmentnet

Which channel in the server do you have in mind for being the thread parent?

I thought about using the #general channel.

danthe1st avatar Mar 31 '24 11:03 danthe1st

Which channel in the server do you have in mind for being the thread parent?

I thought about using the #general channel.

Wouldn't a forum channel in the staff category be more suitable? Idk if you can restrict a user to only seeing this single thread tho

jasonlessenich avatar Apr 01 '24 07:04 jasonlessenich

Which channel in the server do you have in mind for being the thread parent?

I thought about using the #general channel.

Wouldn't a forum channel in the staff category be more suitable? Idk if you can restrict a user to only seeing this single thread tho

This is not possible AFAIK. Sending messages in threads requires being able to access thread thread and forum channels provide no way of restricting threads.

Furthermore, I don't think users should be able to view some report channel without ever using that feature.

danthe1st avatar Apr 01 '24 07:04 danthe1st

Which channel in the server do you have in mind for being the thread parent?

I thought about using the #general channel.

Wouldn't a forum channel in the staff category be more suitable? Idk if you can restrict a user to only seeing this single thread tho

This is not possible AFAIK. Sending messages in threads requires being able to access thread thread and forum channels provide no way of restricting threads.

Furthermore, I don't think users should be able to view some report channel without ever using that feature.

Well, they could only have permission to see this channel if they have an open thread But yeah, ig #general is fine

jasonlessenich avatar Apr 01 '24 08:04 jasonlessenich