apzrn
apzrn
DIAdiscord.js - Imagine an app
Created by apzrn on 4/23/2023 in #djs-questions
Automod api
How do i check if the guild has block words enabled?
11 replies
DIAdiscord.js - Imagine an app
Created by apzrn on 4/23/2023 in #djs-questions
Automod api
const embed = new Discord.EmbedBuilder()
.setTitle('**Auto Mod Guilds:**')
.setColor('#2E3192')
.setDescription(`${await bot.guilds.cache.map((guild) => guild.autoModerationRules.fetch({ cache: false }).enabled === 'true').size}`)
const embed = new Discord.EmbedBuilder()
.setTitle('**Auto Mod Guilds:**')
.setColor('#2E3192')
.setDescription(`${await bot.guilds.cache.map((guild) => guild.autoModerationRules.fetch({ cache: false }).enabled === 'true').size}`)
any idea why its coming back undefined? im trying to check how many guilds have it enabled
11 replies
DIAdiscord.js - Imagine an app
Created by apzrn on 4/23/2023 in #djs-questions
Automod api
Ohhh thanks, is there a way to check if a server has any auto mod rules configured?
11 replies
DIAdiscord.js - Imagine an app
Created by apzrn on 4/23/2023 in #djs-questions
Automod api
Which would that be?
11 replies
DIAdiscord.js - Imagine an app
Created by apzrn on 4/23/2023 in #djs-questions
Automod api
Is there an event for when an automod rule is triggered?
11 replies