Socket
Book a DemoInstallSign in
Socket

@onurege3467/discord-smart-mod

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onurege3467/discord-smart-mod

Tamamen konfigüre edilebilir akıllı Discord moderasyon modülü

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@onurege3467/discord-smart-mod

Gelişmiş, tamamen konfigüre edilebilir Discord moderasyon sistemi. Spam, küfür, link, caps, mention ve emoji spamini engeller. Gerekirse kullanıcıyı doğrulama koduyla test eder.

Özellikler

✅ Spam ve tekrar mesaj tespiti
✅ Link ve küfür engelleme
✅ DM ile doğrulama kodu gönderimi
✅ Caps lock ve emoji spam kontrolü
✅ Akıllı timeout stratejisi
✅ Rollere göre muafiyet sistemi

Kurulum

npm install @onurege3467/discord-smart-mod

Kullanımı

const { Client, GatewayIntentBits } = require("discord.js");
const smartMod = require("@onurege3467/discord-smart-mod");

const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent] });

smartMod(client, {
  bannedWords: {
    enabled: true,
    list: ["örnek"],
    action: "warn"
  }
});

client.login("YOUR_TOKEN");

Varsayılan ayarları

{
    "thresholds": {
      "duplicateMessages": 3,
      "mentionSpam": 5,
      "emojiSpam": 8,
      "capsLockPercent": 80
    },
    "timeouts": {
      "base": 30,
      "max": 300,
      "strategy": "doubling"
    },
    "verification": {
      "enabled": true,
      "codeLength": 6,
      "timeoutSeconds": 60
    },
    "bannedWords": {
      "enabled": true,
      "list": ["küfür", "spamlink"],
      "action": "timeout",
      "timeoutSeconds": 60
    },
    "linkDetection": {
      "enabled": true,
      "allowList": ["discord.gg", "youtube.com"],
      "blockList": ["corn", "tiktok.com"],
      "action": "warn"
    },
    "actions": {
      "onSpam": "timeout",
      "onVerificationFail": "kick"
    },
    "exemptRoles": ["rol1id", "rol2id"],
    "loggingChannelId": ""
  }
  

Keywords

discord

FAQs

Package last updated on 04 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.