A Discord bot that can scan URLs for potential threats using VirusTotal API.
/scan url- Scan a URL for potential threats using VirusTotal
- Install dependencies:
npm install- Create a
.envfile with the following variables:
DISCORD_TOKEN=your_discord_bot_token_here
VIRUSTOTAL_API_KEY=your_virustotal_api_key
-
Replace
your_discord_bot_token_herewith your Discord bot token from the Discord Developer Portal. -
Run the bot:
npm start- To scan a URL:
/scan url [url]
- Please respect API rate limits