Compare commits

...

2 commits

2 changed files with 5 additions and 1 deletions

View file

@ -68,6 +68,7 @@ const BSKY_DOMAINS = [
"bskyx.app",
"bsky.brid.gy",
"deer.social",
"xbsky.app",
];
const TW_DOMAINS = [

View file

@ -553,7 +553,10 @@ events.add("guildAuditLogEntryCreate", "logging", async function (entry) {
break;
}
case AuditLogActions.THREAD_UPDATE: {
const parentChannel = entry.guild.channels.get(entry.target.parentID);
const parentChannel =
entry.target != null && entry.target.parentID != null
? entry.guild.channels.get(entry.target.parentID)
: null;
let tagDiff;
if (after.applied_tags != null) {