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

Fix issue with threads named 'deleted-channel' #1288

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

maxgsf
Copy link

@maxgsf maxgsf commented Sep 13, 2024

Closes #1261

I tried to solve the problem with the thread labeled 'deleted-channel' by using populate threads before assigning the channel variable in the mention.

@Tyrrrz Tyrrrz added the bug label Sep 13, 2024
@Tyrrrz
Copy link
Owner

Tyrrrz commented Sep 13, 2024

Thanks. This works, but pulling threads for an entire guild is notoriously slow.

@maxgsf
Copy link
Author

maxgsf commented Sep 14, 2024

Thanks for the feedback! I've updated my code to only fetch the necessary channel. Please check again.

maxgsf and others added 2 commits September 15, 2024 12:16
Refactor to remove the null check in populate function

Co-authored-by: Oleksii Holub <[email protected]>
Refactor to null check at callsite

Co-authored-by: Oleksii Holub <[email protected]>
@Tyrrrz
Copy link
Owner

Tyrrrz commented Sep 18, 2024

Please run dotnet build in the root directory to fix formatting issues @maxgsf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thread names get exported as #deleted-channel in mentions
2 participants