#Add Tag to existing forum post.

1 messages · Page 1 of 1 (latest)

dusky egret
#

Is it possible to add a tag to a forum post after it is created by a user? I want my bot to automatically apply moderator tags to a post when it is made.

#

If its not possible, what would be a good alternative?

dusky egret
#

So I have this method but its not adding the tag from tagId

private static Task PostCreated(SocketThreadChannel arg)
    {
        IThreadChannel thread = arg;
        thread.ModifyAsync(x =>
        {
            var tags = new List<ulong>() { tagId };
            x.AppliedTags = tags;
        });

        return Task.CompletedTask;
    }