mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
logs: fix excluded_categories not working
This commit is contained in:
parent
da820ae3d7
commit
f4b13529c6
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ export async function log(pluginData: GuildPluginData<LogsPluginType>, type: Log
|
|||
type === LogType.CENSOR ||
|
||||
type === LogType.CLEAN
|
||||
) {
|
||||
if (data.channel.parent_id && opts.excluded_categories.includes(data.channel.parent_id)) {
|
||||
if (data.channel.parentID && opts.excluded_categories.includes(data.channel.parentID)) {
|
||||
continue logChannelLoop;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue