Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

excessive amount of roles causes issues for channel creation. #191

Closed
Sasiko opened this issue Mar 5, 2019 · 0 comments
Closed

excessive amount of roles causes issues for channel creation. #191

Sasiko opened this issue Mar 5, 2019 · 0 comments
Labels
bug This is a confirmed bug priority: high

Comments

@Sasiko
Copy link

Sasiko commented Mar 5, 2019

When a user have too many roles the bot are unable to create a channel due to discord internal limitation of 2000 character per message.
Because mod mail first message during thread creation includes roles of the recipient the bot are unable to create the actual channel but the thread gets created instead.

This causes problems where theres no channel and you cant close the thread by any means possible and the recipient cant use modmail bot at all.
Whats the eval command to close the thread from a recipient?

Suggestion: Set a hard limit of how many roles can be displayed in the channel. If it exceed the thresthold, replace it with a phrase like "Too many roles to display."

Perhaps make a new command where it force close all "opened" threads by user. This would be useful feature, specially if theres any future issues that causes channel to not get created by various factors.

@Sasiko Sasiko changed the title Too many roles causes issues when using contact command excessive amount of roles causes issues for channel creation. Mar 5, 2019
@kyb3r kyb3r added bug This is a confirmed bug priority: high labels Mar 10, 2019
@kyb3r kyb3r closed this as completed in 2db8b85 Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a confirmed bug priority: high
Projects
None yet
Development

No branches or pull requests

2 participants