-
-
Notifications
You must be signed in to change notification settings - Fork 687
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
Conversation
👍 There's two typos in the commit titles ("cahnnel", "ative"), other than that it looks good to me. |
e2a35b5
to
3fbd94a
Compare
bot/exts/help_channels/_channel.py
Outdated
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" |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See most recent commits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #3173