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

Show close reasons in close message #3240

Merged
merged 7 commits into from
Jan 18, 2025
Merged

Show close reasons in close message #3240

merged 7 commits into from
Jan 18, 2025

Conversation

ChrisLovering
Copy link
Member

@ChrisLovering ChrisLovering commented Jan 18, 2025

Closes #3173

@L3viathan
Copy link

👍

There's two typos in the commit titles ("cahnnel", "ative"), other than that it looks good to me.

Comment on lines 54 to 58
close_title += f" by OP with {constants.Bot.prefix}close"
elif closing_reason == _stats.ClosingReason.INACTIVE:
close_title += " for inactivity"
elif closing_reason == _stats.ClosingReason.NATIVE:
close_title += " by OP"
Copy link
Member

@vivekashok1221 vivekashok1221 Jan 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moderators can close help channels too.
Do you think it's worth distinguishing between an OP closing the post and a moderator closing the post?

(lines 54 and 58)

Copy link
Member Author

@ChrisLovering ChrisLovering Jan 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See most recent commits

Copy link
Member

@vivekashok1221 vivekashok1221 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mbaruh mbaruh merged commit a6a104c into main Jan 18, 2025
5 checks passed
@mbaruh mbaruh deleted the Show-close-reasons branch January 18, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change message sent based on how a help channel was closed
4 participants