mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-11-09 15:40:03 +00:00
Add support for message content for reaction role posts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
parent
a76ac38ccf
commit
91c9f8425e
1 changed files with 1 additions and 0 deletions
1
Home.md
1
Home.md
|
@ -117,6 +117,7 @@ Creates a post with pre-set reactions and assigns roles on reaction
|
|||
| `discord_channel_id` | ✅ | string | | ID of the Discord channel to post the message to |
|
||||
| `embed_title` | ✅ | string | | Title of the embed |
|
||||
| `reaction_roles` | ✅ | []string | | List of strings in format `emote=role-id[:set]`. `emote` equals an unicode emote (✅) or a custom emote in form `:<emote-name>:<emote-id>`. `role-id` is the integer ID of the guilds role to add with this emote. If `:set` is added at the end, the role will only be added but not removed when the reaction is removed. |
|
||||
| `content` | | string | | Message content to post above the embed |
|
||||
| `embed_color` | | int64 | `0x2ECC71` | Integer / HEX representation of the color for the embed |
|
||||
| `embed_description` | | string | | Description for the embed block |
|
||||
| `embed_thumbnail_height` | | int64 | | Height of the thumbnail |
|
||||
|
|
Loading…
Reference in a new issue