Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
discord-spam-protect
Advanced tools
Javascript:
Message Send Spam Protect;
const spam = require("discord-spam-protect");
client.on("messageCreate", (message) => {
new spam(message, {
max_number: 5,
warning_number: 3,
mute_open: true,
message_delete: true,
reset_timeout: 4000,
discordjs_version: "v13", // You Can v12
warning_message: { content: "warning message" },
max_message: { content: "You Muted" },
bypass_users: [] // User Not Affected
});
});
Message Edit Spam Protect;
const spam = require("discord-spam-protect");
client.on("messageUpdate", (oldmessage, newmessage) => {
new spam(newmessage, {
max_number: 5,
warning_number: 3,
mute_open: true,
message_delete: true,
reset_timeout: 4000,
discordjs_version: "v13", // You Can v12
warning_message: { content: "warning message" },
max_message: { content: "You Muted" },
bypass_users: [] // User Not Affected
});
});
Join My Server: https://discord.gg/gkmwaAZQBu
FAQs
Discord Spam Protect
We found that discord-spam-protect demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.