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); |
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:
project_bot/client/utils/trending.js
Lines 27 to 35 in a7cfaea