mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-20 16:25:03 +00:00
Oops
This commit is contained in:
parent
c4ce74e0d5
commit
df56751f91
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export const SetSlowmodeAction = automodAction({
|
||||||
const channel = pluginData.guild.channels.get(channelId);
|
const channel = pluginData.guild.channels.get(channelId);
|
||||||
// 0 = Guild Text, 4 = Guild Category - Both dont allow slowmode
|
// 0 = Guild Text, 4 = Guild Category - Both dont allow slowmode
|
||||||
if (!channel) continue;
|
if (!channel) continue;
|
||||||
if (channel.type === 0 || channel.type === 4) continue;
|
if (!(channel.type === 0 || channel.type === 4)) continue;
|
||||||
|
|
||||||
let channelsToSlowmode: AnyGuildChannel[] = [];
|
let channelsToSlowmode: AnyGuildChannel[] = [];
|
||||||
if (channel.type === 4) {
|
if (channel.type === 4) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue