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

ticket count mismatch #343

Open
camfsd opened this issue Mar 21, 2024 · 0 comments · May be fixed by #364
Open

ticket count mismatch #343

camfsd opened this issue Mar 21, 2024 · 0 comments · May be fixed by #364
Assignees
Labels
bug Something isn't working
Milestone

Comments

@camfsd
Copy link

camfsd commented Mar 21, 2024

Describe the bug
After the bot crashes with an error, the ticket count can become mismatched. TICKETCOUNT in the channel name is one less than TICKETCOUNT in the category description, displayed in the first embed in the ticket channel.

To Reproduce
Steps to reproduce the behavior:

  1. Run the bot with an invalid ID in a cantAccess field.
  2. Open a ticket in the category with the invalid ID configured.
  3. Re-run the bot with the invalid ID removed.
  4. Open another ticket in the same category. Observe.

After reproducing these steps, the ticket count in the channel name will be the same as the one that was created before the crash, however the ticket count in the description will have incremented.

image

Expected behavior
The ticket count in the channel name and the channel description are consistent. As an identifier, they should match.

Desktop:

  • OS: Win11E 22H2
  • ticket-bot v3.3.0
@camfsd camfsd added the bug Something isn't working label Mar 21, 2024
@zhiyan114 zhiyan114 self-assigned this Apr 2, 2024
@zhiyan114 zhiyan114 added this to the 3.3.1 milestone Apr 2, 2024
@Uo1428 Uo1428 linked a pull request Jun 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants