$guildEditPost
$guildEditPost
will edit a post within a guild forum.
Usage
$guildEditPost[threadId;reason?;returnTags?;...threadTags(?)]
Parameters
Field | Type | Description | Required |
---|---|---|---|
threadId | number | The ID of the thread or post. | true |
reason? | string | The reason displayed in the guild’s audit logs. | false |
returnTags? | boolean | Return the thread tags? | false |
…threadTags(?) | string | The applied post tags. Optional when forum channel does not require tags. | / |
Example(s)
This will add a tag named “Tag”, which is already present in the forum to the thread or post.
1client.command({2 name: "guildEditPost",3 code: `4 $guildEditPost[threadId;This is a reason!;false;+Tag]5 `6});
Another example which will add a tag named “Hello” and removed the already existing “Hi” tag from the thread or post.
1client.command({2 name: "guildEditPost",3 code: `4 $guildEditPost[threadId;This is a reason!;false;+Hello;-Hi]5 `6});