Closed MarkKoz closed 1 month ago
If option 3 isn't possible, option 1.b is a good compromise (get notified so that we can either change or delete the ot name).
Edit: We could also (probably) use non-latin characters in the offending channel name but I'm not very enthusiastic about this solution as it involves circumventing restrictions put by Discord.
I would think just going through and curating the list we have now and just clean it up rather than have these on the fly fixes. Probably not a great look for us to have fuck in one of our channel names anyway. Then I guess from there just have a regular filter on new additions.
A low tech solution makes more sense to me for something like this.
@MrHemlock We don't know which words are disallowed. Thus, we cannot prevent new invalid names from being added.
Fair. Just feels like more maintenance to have to have to add and potentially remove in future. Out of the three, 1 sounds the better solution given the current circumstances.
I do also think we should go through and curate the list again anyway. Couldn't hurt.
Just feels like more maintenance to have to have to add and potentially remove in future.
Being concerned about complexity is valid. With that in mind, we could do one of the following (assuming we go with solution 1):
In both cases, there is the additional downside of not knowing that some names are never being used, and thus not being able to fix them.
Something like a message in Mod alerts or Dev alerts would probably be sufficient for 2. Handle that case (delete, modify, etc.) and either trigger the try again or just let it sit until the next go.
I would be for sending a message somewhere and retrying. I also wouldn't mind not retrying, but I don't think it should add too much complexity to include it.
Sentry Issue: BOT-38K
Summary
Discord must have recently added a new feature which rejects channel names if they contain certain words they don't like. This is a problem for our automated renaming of off-topic channels, which has some names with words that are no longer allowed. The first event of the Sentry issue above was caused by the name "ot0-welcome-and-fuck-you", for example.
Solutions
There are several ways to mitigate this:
Solution № 3 is ideal, but I don't think the list is publicly available. Thus, I'm leaning towards № 1. I'd rather not delete the rejected names because:
Alternative proposals are welcome.
Other Affected Features
I believe the only other feature that creates/renames channels is the help system, but it uses fruit names, so I think we don't have to worry there. Modmail may suffer from this problem, but it's out of scope for this issue.
Traceback