Skip to content

$guildEditPost

$guildEditPost will edit a post within a guild forum.

Usage

$guildEditPost[forumId;userID?;...threadTags(?)]

Parameters

FieldTypeDescriptionRequired
forumIdnumberThe ID of the forum channel.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 create a post in the given forum with the name “this is a post” with an embed and a button attached to the message:

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