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

Help Improvements #104

Merged
merged 3 commits into from
Nov 16, 2024

Conversation

RedVortexDev
Copy link
Contributor

@RedVortexDev RedVortexDev commented Oct 16, 2024

Solved

Adds two new fields to the config.json: (dfcord values)

{
   "help_channel": 1024115123847172106,
   "help_channel_solved_tag": 1024142306661638164,
}

?solved

When the owner of a post in the help_channel runs ?solve, the help_channel_solved_tag is applied to it, the post is locked, and the name gets changed to [SOLVED] <originalName>.

User-applied solved tag

When the help_channel_solved_tag is applied to any help_channel's post:
On channel creation the tag is removed.
On other cases it is locked and has its name changed.

Removed solved tag

When the help_channel_solved_tag is removed to a locked help_channel's post the tag is put back.

Lock closed posts

When a post in the help_channelis closed, it is also locked with no other changes.

Screenshots

image
image
image

The changes were tested in edge cases such as other forums, threads outside of the help channel, moderator running ?solved on a solved post, post created with solved tag, and more.

@Owen1212055 Owen1212055 merged commit 8d2df10 into MCDiamondFire:master Nov 16, 2024
2 checks passed
@RedVortexDev RedVortexDev deleted the feat/help-improvements branch November 16, 2024 08:00
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.

2 participants