Skip to content

Commit ab0ee09

Browse files
committed
Added a documentation for /embed.
1 parent 05675f4 commit ab0ee09

File tree

2 files changed

+29
-4
lines changed

2 files changed

+29
-4
lines changed

Writerside/topics/Embed-Management.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This feature is mainly enabled through the command [](embed.topic).
1010
Most sub-commands of [](embed.topic) expect the embed-data to be passed as a json-string.
1111
This can either contain one object, or a json array of multiple object.
1212
You can get an example of the format that is used by running the command [](embed-get.topic) and supplying the message
13-
link of a message with an embed.
14-
The format that is expected looks like this:
13+
link of a message with an embed. \
14+
The format that is expected in those arguments looks like this:
1515

1616
```json
1717
{

Writerside/topics/embed.topic

+27-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,32 @@
33
SYSTEM "https://resources.jetbrains.com/writerside/1.0/xhtml-entities.dtd">
44
<topic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/topic.v2.xsd"
6-
title="/embed ✏️" id="embed">
6+
title="/embed" id="embed">
77

8-
<code>Coming soon</code>
8+
<tldr>
9+
<p>
10+
<format style="italic">Makes it possible to manage embeds.</format>
11+
</p>
12+
13+
<p><br/></p>
14+
15+
<p>
16+
<format style="bold">Allowed in DMs:</format>
17+
:x: No
18+
</p>
19+
20+
<p>
21+
<format style="bold">Default permission required:</format>
22+
<code>Manage Messages</code>
23+
</p>
24+
</tldr>
25+
26+
<chapter title="Sub-Commands" id="sub-commands">
27+
<list>
28+
<li><a href="embed-add.topic"/>: Add a new embed to a message by this bot.</li>
29+
<li><a href="embed-edit.topic"/>: Edit a specific embed on a message.</li>
30+
<li><a href="embed-get.topic"/>: Display all embed data of a given message.</li>
31+
<li><a href="embed-send.topic"/>: Send a new message containing the given embed(s).</li>
32+
</list>
33+
</chapter>
934
</topic>

0 commit comments

Comments
 (0)