mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-13 13:25:03 +00:00
more fixes
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
343a91e3c3
commit
c33a216857
23 changed files with 81 additions and 58 deletions
|
@ -88,7 +88,7 @@ export async function log<TLogType extends keyof ILogTypeData>(
|
|||
|
||||
logChannelLoop: for (const [channelId, opts] of Object.entries(logChannels)) {
|
||||
const channel = pluginData.guild.channels.cache.get(channelId as Snowflake);
|
||||
if (!channel?.isText()) continue;
|
||||
if (!channel?.isTextBased()) continue;
|
||||
if (pluginData.state.channelCooldowns.isOnCooldown(channelId)) continue;
|
||||
if (opts.include?.length && !opts.include.includes(typeStr)) continue;
|
||||
if (opts.exclude && opts.exclude.includes(typeStr)) continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue