Skip to content

[BUG] Verification command fails to execute for users with a large number of roles #91

@Temmie3754

Description

@Temmie3754

Describe the bug
The manual verification command (verification verify) will not run if a user has a significant number of roles. This is likely due to a check against Discord's character limit of 1024 for embed fields not being performed.

To Reproduce
Steps to reproduce the behavior:

  1. Give a user enough roles such that the text representation of their role list would exceed 1024 characters.
  2. Run the verification verify command on the user.
  3. Wait to see the lack of response from the bot.

Expected behavior
Verification information on the user would be returned with the role list being shortened through some means (e.g. putting a message of "x roles omitted" at the end of the role list).

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions