Skip to content

Problems with posting repositories. #6

@aroary

Description

@aroary

The API errors at every interval when the app tries to post to a forum channel. This is due to missing tags. Tags must be added by their IDs.
Source:

client.channels.cache.get(process.env["REPOSITORIES_CHANNEL_ID"]).threads
.create({
name: repository.name,
autoArchiveDuration: ThreadAutoArchiveDuration.OneHour,
message: { content: `${repository.description || ""}\n\n${repository.html_url}`.trimStart() },
reason: "Activity",
appliedTags: [{ name: "Other" }]
})
.catch(process.report.writeReport);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions