1.0.3 • Published 3 years ago

linksystem v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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.*

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago