You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/beta/plugins/discord.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ title: Discord
3
3
description: Setting up the Discord plugin.
4
4
---
5
5
6
+
6
7
The Discord plugin assigns Cred to contributors participating in Discord chats; for example, by posting and reacting to messages.
7
8
8
9
@@ -20,9 +21,6 @@ For instructions on setting up the bot and configuring the plugin, see the [Conf
20
21
21
22
Cred is minted on Discord reactions. It then flows to connected nodes.
22
23
23
-
TO DO: add example with diagram....The below diagram illustrates a typical pattern of Cred flow in Discord....
24
-
25
-
26
24
27
25
The full set of node and edge types used by the Discord plugin are defined below.
28
26
@@ -123,8 +121,9 @@ Below are the basic steps to create your bot, point it at your Discord server an
123
121
124
122
If you want to change the weight for a default reaction, just put the reaction's literal emoji in `config.json`. For example, if you wanted the 💜 emoji to have a weight that is 5 times a regular reaction, add the line `"💜": 5` to the `config.json`, as shown below.
125
123
126
-
```
127
-
{
124
+
125
+
```json
126
+
{
128
127
"guildId": "742885338065666150",
129
128
"reactionWeights": {
130
129
"👍": 1,
@@ -133,7 +132,8 @@ Below are the basic steps to create your bot, point it at your Discord server an
133
132
}
134
133
}
135
134
```
136
-
If you want to set a custom weight for a custom emoji, you'll first need to get the custom emoji ID. You can get this by right clicking on the custom emoji and clicking 'Copy Link'. This will give you a URL to an image of the emoji. The numberic substring in the URL is the emoji ID. For instance, below is the URl for a custom sourcecred emoji called `:sourcecred_pink:`.
135
+
136
+
If you want to set a custom weight for a custom emoji, you'll first need to get the custom emoji ID. You can get this by right clicking on the custom emoji and clicking 'Copy Link'. This will give you a URL to an image of the emoji. The numberic substring in the URL is the emoji ID. For instance, below is the URl for a custom sourcecred emoji called `:sourcecred_pink:`.
0 commit comments