Skip to content

Help Improvements#104

Merged
Owen1212055 merged 3 commits intoMCDiamondFire:masterfrom
RedVortexDev:feat/help-improvements
Nov 16, 2024
Merged

Help Improvements#104
Owen1212055 merged 3 commits intoMCDiamondFire:masterfrom
RedVortexDev:feat/help-improvements

Conversation

@RedVortexDev
Copy link
Member

@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
@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