Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Added Documentation for ReactionPin cog #171

Open
wants to merge 31 commits into
base: develop
Choose a base branch
from
Open
Changes from 8 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
c2ca750
Added Documentation for ReactionPin cog
WaMathias Oct 17, 2021
2bdc8c7
Update reactionpin.md
WaMathias Oct 17, 2021
02e4ecd
Update reactionpin.md
WaMathias Oct 17, 2021
500d284
Update reactionpin.md
WaMathias Oct 18, 2021
4dace34
Update reactionpin.md
WaMathias Nov 7, 2021
398acce
Merge branch 'develop' into patch-1
WaMathias Nov 7, 2021
63310fa
Update reactionpin.md
WaMathias Nov 7, 2021
a74ae5d
Update reactionpin.md
WaMathias Dec 5, 2021
b6fa308
Update reactionpin.md
WaMathias Dec 27, 2021
02e1810
Update reactionpin.md
WaMathias Dec 27, 2021
6372711
Update reactionpin.md
WaMathias Dec 27, 2021
52f1144
Update reactionpin.md
WaMathias Dec 28, 2021
e09e3eb
Update reactionpin.md
WaMathias Dec 28, 2021
9bf5b95
Update reactionpin.md
WaMathias Feb 25, 2022
5475f38
Update reactionpin.md
WaMathias Feb 25, 2022
e38ea0a
Update reactionpin.md
WaMathias Feb 25, 2022
b25cd3c
Update reactionpin.md
WaMathias Feb 25, 2022
64e4fd1
Update reactionpin.md
WaMathias Feb 25, 2022
4ae5484
Update reactionpin.md
WaMathias Feb 25, 2022
a9a4a81
Merge branch 'develop' into patch-1
WaMathias Feb 25, 2022
68e1d3a
Update reactionpin.md
WaMathias Feb 25, 2022
4ecc6e2
Update reactionpin.md
WaMathias Feb 25, 2022
86f390e
Update reactionpin.md
WaMathias Feb 26, 2022
81f8b8a
Update reactionpin.md
WaMathias Feb 26, 2022
a2ec226
Update reactionpin.md
WaMathias Feb 26, 2022
678fafc
Update reactionpin.md
WaMathias Feb 26, 2022
23cc08d
Merge branch 'develop' into patch-1
Defelo Mar 30, 2022
1745a11
Merge branch 'develop' into patch-1
Defelo Apr 6, 2022
c070f8b
Update reactionpin.md
WaMathias Jun 8, 2022
966116c
Update reactionpin.md
WaMathias Jun 8, 2022
a74a4ff
Merge branch 'develop' into patch-1
Tristan-H11 Jul 13, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
126 changes: 126 additions & 0 deletions reactionpin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
# Reaction Pin


This cog consists of a reaction event and some moderation commands.


## Reaction Pin

A message is pinned when
WaMathias marked this conversation as resolved.
Show resolved Hide resolved

a)
the user who added the reaction `:pushpin` (📌) has the `reactionpin.pin` permission OR

b)
1. `:pushpin:` (📌) is added as a reaction to a message AND

2. the reaction is added by the author of the message AND

3. the message was written in a channel whitelisted for ReactionPin AND

4. 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.
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.
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|


***
### `remove`

This command removes a channel to the whitelisted Reactionpin channel.
WaMathias marked this conversation as resolved.
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.
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.
Show resolved Hide resolved

[![image](https://www.linkpicture.com/q/Screenshot-2021-10-17-072804_1.png)](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|