Skip to content

$guildEditPost

$guildEditPost will edit a post within a guild forum.

Usage

$guildEditPost[threadId;reason?;returnTags?;...threadTags(?)]

Parameters

FieldTypeDescriptionRequired
threadIdnumberThe ID of the thread or post.true
reason?stringThe reason displayed in the guild’s audit logs.false
returnTags?booleanReturn the thread tags?false
…threadTags(?)stringThe 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.

1
client.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.

1
client.command({
2
name: "guildEditPost",
3
code: `
4
$guildEditPost[threadId;This is a reason!;false;+Hello;-Hi]
5
`
6
});