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

🐛 Cannot create threads in servers that lost boost levels #23

Closed
MarcusOtter opened this issue Jan 3, 2022 · 2 comments · Fixed by #34
Closed

🐛 Cannot create threads in servers that lost boost levels #23

MarcusOtter opened this issue Jan 3, 2022 · 2 comments · Fixed by #34
Labels
confirmed bug 🦋 Something isn't working

Comments

@MarcusOtter
Copy link
Owner

Describe the bug
Discord lets you set the default thread archive duration on certain Discord channels. The value you are able to set it to depends on the server's boost level.

However, if a server's boost level was 1 or 2 and they set the thread archive duration to their max, and then the server's boost level decreases, the channel's thread archive duration does not revert to an allowed value (even though the UI thinks this is the case).

image

Since Needle uses this value to determine the thread's archive duration, it can throw an exception in this case:

image

To Reproduce
Very difficult unless you have a bunch of server boosts laying around.

  1. Boost a server to a higher boost level
  2. Set the thread archive duration for a channel to the highest possible value
  3. Enable autothreading in that channel
  4. Remove the boost from the server, making it drop a boost level
  5. Post a message in the channel
  6. See exception (nothing happens with the bot)

Expected behavior
A thread is created.

@MarcusOtter MarcusOtter added the confirmed bug 🦋 Something isn't working label Jan 3, 2022
@MarcusOtter
Copy link
Owner Author

Thanks to @WebDevSimplified for finding this issue!

@c43721
Copy link
Contributor

c43721 commented Jan 3, 2022

This could be a discord api bug, will ask in ddevs

@MarcusOtter MarcusOtter moved this to Todo-next in Needle v2.0 Jan 18, 2022
@MarcusOtter MarcusOtter mentioned this issue Jan 18, 2022
Merged
3 tasks
@MarcusOtter MarcusOtter moved this from Todo-soon to In Progress in Needle v2.0 Jan 18, 2022
@MarcusOtter MarcusOtter pinned this issue Jan 18, 2022
Repository owner moved this from In Progress to Done in Needle v2.0 Feb 3, 2022
@MarcusOtter MarcusOtter unpinned this issue Feb 3, 2022
@MarcusOtter MarcusOtter changed the title 🐛 BUG: Cannot create threads in servers that lost boost levels 🐛 Cannot create threads in servers that lost boost levels May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed bug 🦋 Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants