This repository was archived by the owner on Oct 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Added Documentation for ReactionPin cog #171
Open
WaMathias
wants to merge
31
commits into
PyDrocsid:develop
Choose a base branch
from
WaMathias:patch-1
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 13 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
c2ca750
Added Documentation for ReactionPin cog
WaMathias 2bdc8c7
Update reactionpin.md
WaMathias 02e4ecd
Update reactionpin.md
WaMathias 500d284
Update reactionpin.md
WaMathias 4dace34
Update reactionpin.md
WaMathias 398acce
Merge branch 'develop' into patch-1
WaMathias 63310fa
Update reactionpin.md
WaMathias a74ae5d
Update reactionpin.md
WaMathias b6fa308
Update reactionpin.md
WaMathias 02e1810
Update reactionpin.md
WaMathias 6372711
Update reactionpin.md
WaMathias 52f1144
Update reactionpin.md
WaMathias e09e3eb
Update reactionpin.md
WaMathias 9bf5b95
Update reactionpin.md
WaMathias 5475f38
Update reactionpin.md
WaMathias e38ea0a
Update reactionpin.md
WaMathias b25cd3c
Update reactionpin.md
WaMathias 64e4fd1
Update reactionpin.md
WaMathias 4ae5484
Update reactionpin.md
WaMathias a9a4a81
Merge branch 'develop' into patch-1
WaMathias 68e1d3a
Update reactionpin.md
WaMathias 4ecc6e2
Update reactionpin.md
WaMathias 86f390e
Update reactionpin.md
WaMathias 81f8b8a
Update reactionpin.md
WaMathias a2ec226
Update reactionpin.md
WaMathias 678fafc
Update reactionpin.md
WaMathias 23cc08d
Merge branch 'develop' into patch-1
Defelo 1745a11
Merge branch 'develop' into patch-1
Defelo c070f8b
Update reactionpin.md
WaMathias 966116c
Update reactionpin.md
WaMathias a74a4ff
Merge branch 'develop' into patch-1
Tristan-H11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,138 @@ | ||
| # Reaction Pin | ||
|
|
||
|
|
||
| This cog consists of a reaction event and some moderation commands. | ||
|
|
||
|
|
||
| ## Reaction Pin | ||
|
|
||
|
|
||
| A message is pinned when | ||
|
|
||
| a) | ||
| the user who added the reaction `:pushpin` (📌) has the `reactionpin.pin` permission OR | ||
|
|
||
| b) | ||
|
|
||
| 0. `:pushpin:` (📌) is added as a reaction to a message AND | ||
|
|
||
| 1. the reaction is added by the author of the message AND | ||
|
|
||
| 2. the message was written in a channel whitelisted for ReactionPin AND | ||
|
|
||
| 3. the user does not have the `mute` role | ||
|
|
||
|
|
||
| As soon as the message author or a Team-Member removes his reaction `:pushpin:` 📌, the message will be removed from the pinned messages. | ||
|
|
||
| --- | ||
| ## `reactionpin` | ||
|
|
||
|
|
||
| This is the main command, for the command group, to show all the subcommands, if you have the permission for it. | ||
WaMathias marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| Required Permissions: | ||
|
|
||
| - `reactionpin.read` | ||
|
|
||
|
|
||
| Aliases: | ||
|
|
||
| - `a` | ||
|
|
||
|
|
||
| ```css | ||
| .reactionpin <command> | ||
| ``` | ||
|
|
||
|
|
||
| --- | ||
| ### `add` | ||
|
|
||
|
|
||
| This command adds a channel to the whitelisted Reactionpin channel. | ||
WaMathias marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Required Permissions: | ||
|
|
||
| - `reactionpin.read` | ||
| - `reactionpin.write` | ||
|
|
||
|
|
||
| Aliases: | ||
| - `add` | ||
| - `a` | ||
| - `+` | ||
|
|
||
|
|
||
| ```css | ||
| .rp [add|a|+] <channel> | ||
| ``` | ||
|
|
||
| |Arguments|Required|Description| | ||
| |:------:|:------|:-----| | ||
| |`channel`|✔️|Adds the channel to the whitelisted Reaction-Pin Channels| | ||
WaMathias marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| --- | ||
| ### `remove` | ||
|
|
||
|
|
||
| This command removes a channel to the whitelisted Reactionpin channel. | ||
WaMathias marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Required Permissions: | ||
|
|
||
| - `reactionpin.read` | ||
| - `reactionpin.write` | ||
|
|
||
|
|
||
| Aliases | ||
|
|
||
| - `remove` | ||
|
|
||
| - `del` | ||
|
|
||
| - `r` | ||
|
|
||
| - `d` | ||
|
|
||
| - `-` | ||
|
|
||
|
|
||
| ```css | ||
| .rp [del|r|d|-] <channel> | ||
| ``` | ||
|
|
||
| |Arguments|Required|Description| | ||
| |:------:|:-----|:-----| | ||
| |`channel`|✔️|Removes the channel to the whitelisted Reaction-Pin Channels| | ||
WaMathias marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| --- | ||
| ### `pin_message` | ||
|
|
||
|
|
||
| This command enables or disables the "MorpheusHelper pinned a message. See all messages" message. | ||
WaMathias marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| [](https://www.linkpicture.com/view.php?img=LPic616bc85447a64587571420) | ||
|
|
||
|
|
||
| Required Permissions: | ||
|
|
||
| - `reactionpin.read` | ||
|
|
||
| - `reactionpin.write` | ||
|
|
||
|
|
||
| Aliases: | ||
| - `pm` | ||
|
|
||
|
|
||
| ```css | ||
| .rp [pin_message|pm] <enabled> | ||
| ``` | ||
|
|
||
| Arguments: | ||
|
|
||
| |Argument|Required|Description| | ||
| |:------:|:----|:------:| | ||
| |enabled|✔️|Message is displayed if true| | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.