mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-27 19:25:03 +00:00
fix(logs): fix inconsistent thread/channel/category exclusions; add excluded_threads log channel option
This commit is contained in:
parent
218c31231e
commit
d472fd4fa6
32 changed files with 132 additions and 51 deletions
5
backend/src/utils/isGuildChannel.ts
Normal file
5
backend/src/utils/isGuildChannel.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { Channel, GuildChannel } from "discord.js";
|
||||
|
||||
export function isGuildChannel(channel: Channel): channel is GuildChannel {
|
||||
return channel.type.startsWith("GUILD_");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue