Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.11 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.11 KB

DetectXDiscord

This is a Discord bot that can be used to scan files for viruses using the VirusTotal API. The bot listens for messages in a Discord server, and if a message contains a file attachment, it downloads the file, checks it for viruses using the VirusTotal API, and then reports the scan results back to the user and deletes message

Pre-view

image

Getting Started

Prerequisites

To use this bot, you will need the following:

Installation

  1. Clone this repository to your local machine.
  2. Install the required packages using pip:
pip install discord requests hashlib aiohttp os
  1. Set up .env file
{
  "DISCORD_TOKEN": "your_bots_discord_token",
  "VIRUSTOTAL_API_KEY": "your_virus_total_api_key"
}

Run the bot

python main.py