linksystem
v1.0.3
Published
LinkSystem keeps your Guild Safe from dangerous Links
Downloads
2
Readme
LinkSystem
Discord Bot: LinkSystem Get Support: Wumpy World Website: linksystem NPM: npmjs.com/linksystem
LinkSystem keeps your Chat clean from dangerous Links. You can use our Discord Bot or just install the NPM Package. If you need Help with the Package or the Bot, you can join our Discord Server.
Example Code
const AntiLinkClient = require("linksystem");
const { Client } = require("discord.js");
const client = new Client({ intents: ["GUILD_MESSAGES", "GUILDS"] });
const antilink = new AntiLinkClient({
warnMessage: (message) => `${message.author.toString()}, please dont send Links.`,
muteCount: 5,
kickCount: 10,
banCount: 15,
deleteMessage: true,
});
client.on("ready", () => {
console.log("Bot is ready!");
});
client.on("messageCreate", (message) => {
antilink.handleMessages(message);
});
antilink.on("muteCountReached", (message, user) => {
user.send("You have been muted for sending links");
});
antilink.on("kickCountReached", (message, user) => {
user.send("You have been kicked for sending links");
});
antilink.on("banCountReached", (message, user) => {
user.send("You have been banned for sending links");
});
client.login("Your-Bot-Token");
Installation
If you need Help with the Package or the Bot, you can join our Discord Server.
Linux & Windows
npm i linksystem
Note: The Package will get new Updates every Week. If you need Support, you can join our Discord Server.