0.0.8 • Published 2 years ago

discord-link-scanning-bot v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Discord Link Scanning Bot

Support: https://discord.gg/CVbPZRt9yG

  1. Create a file named index.js with this content:
const linkscanning = require('discord-link-scanning-bot');
  1. Create a file named settings.js with this content:
module.exports = {
  BotToken: "", // Your Token
  BotPrefix: "!", // For the only existing command: eval
  BotLanguage: "English", // Supporting "Español", "English" and "Deutch"
  BotIntents: "all", // Recomended keeping it to "all"
  BotOwners: "759796588842450944", // Separate them with ";". Example: "759796588842450944;905883534521139210"
  ApiKey: "", // Get one: https://ipqualityscore.com
  
  BotLogs: false, // Send logs to a discord channel?
  BotLogsChannelID: "", // Discord Logs Channel ID, only if the option "BotLogs" is enabled.
  BotStatus: "your server!", // Bot Status
  StatusType: "WATCHING", // WATCHING, PLAYING, LISTENING...

  SuccessEmoji: ":white_check_mark:", // Good Emoji
  ErrorEmoji: ":x:", // Bad Emoji
  LoadingEmoji: ":satellite:", // Loading Emoji

  LinkScanning: true, // Enables/Disables the link scanning.
  IgnoreUsersWithPerms: "manageserver;managemessages;admin", // Ingore Users with this perms. Separate them with ";".
  IgnoreChannels: "", // Channel IDs to ignore. Separate them with ";".
  DeleteIfMaliciousLink: true, // Delete the link message if malicious?
  BanIfMaliciousLink: false, // Ban the user if malicious?
  TimeoutIfMaliciousLink: true, // Mute the user if malicious?
  TimeoutTime: "30m", // Mute time
  CooldownBetweenScans: "10s", // Ignore links during this time between scans.
  RespondToBots: false, // Scan links from bots?
  RespondOnEdit: { // Recomended keeping it like this:
        commands: false,
        alwaysExecute: true,
        nonPrefixed: true
  },

  // Advanced
  Sharding: false,
  ShardCount: 2,
  SuppressPackageErrors: true
}
  1. Activate all the bot intents in discord developer portal.
  2. Install the package, setup and start your bot!
0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago