{"id":22582895,"url":"https://github.com/brandonfl/discord-virustotal-bot","last_synced_at":"2026-04-17T06:33:45.109Z","repository":{"id":44590149,"uuid":"441694833","full_name":"brandonfl/discord-virustotal-bot","owner":"brandonfl","description":"Discord bot using VirusTotal API to check if the content of messages sent by discord users is safe","archived":false,"fork":false,"pushed_at":"2023-07-07T21:55:22.000Z","size":88,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T03:43:46.235Z","etag":null,"topics":["discord","discord-bot","security","virustotal"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brandonfl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-25T14:24:04.000Z","updated_at":"2023-09-06T10:56:25.000Z","dependencies_parsed_at":"2025-03-28T16:45:06.649Z","dependency_job_id":null,"html_url":"https://github.com/brandonfl/discord-virustotal-bot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"brandonfl/discord-java-docker-bot","purl":"pkg:github/brandonfl/discord-virustotal-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonfl%2Fdiscord-virustotal-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonfl%2Fdiscord-virustotal-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonfl%2Fdiscord-virustotal-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonfl%2Fdiscord-virustotal-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandonfl","download_url":"https://codeload.github.com/brandonfl/discord-virustotal-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonfl%2Fdiscord-virustotal-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31918621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discord","discord-bot","security","virustotal"],"created_at":"2024-12-08T06:12:44.325Z","updated_at":"2026-04-17T06:33:45.092Z","avatar_url":"https://github.com/brandonfl.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/brandonfl/discord-virustotal-bot\"\u003e\u003cimg src=\"https://github.com/brandonfl/discord-virustotal-bot/blob/assets/virustotal.png?raw=true\" width=\"100\"/\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://github.com/brandonfl/discord-virustotal-bot\"\u003eDiscord VirusTotal bot\u003c/a\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e Discord bot using VirusTotal API to check if the content of messages sent by discord users is safe \u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/brandonfl/discord-virustotal-bot/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/brandonfl/discord-virustotal-bot\" alt=\"release\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/brandonfl/discord-virustotal-bot\"\u003e\u003cimg src=\"https://img.shields.io/docker/v/brandonfl/discord-virustotal-bot?label=Docker%20Hub\" alt=\"docker-hub\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/brandonfl/discord-virustotal-bot/actions/workflows/codeql-analysis.yml\"\u003e\u003cimg src=\"https://github.com/brandonfl/discord-virustotal-bot/actions/workflows/codeql-analysis.yml/badge.svg?branch=master\" alt=\"CodeQL\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://sonarcloud.io/project/overview?id=brandonfl_discord-virustotal-bot\"\u003e\u003cimg src=\"https://sonarcloud.io/api/project_badges/measure?project=brandonfl_discord-virustotal-bot\u0026metric=alert_status\" alt=\"sonar-gate\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/brandonfl/discord-virustotal-bot/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/brandonfl/discord-virustotal-bot\" alt=\"licence\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#how-to-use\"\u003eHow to use\u003c/a\u003e •\n  \u003ca href=\"#variables\"\u003eVariables\u003c/a\u003e •\n  \u003ca href=\"#licence\"\u003eLicence\u003c/a\u003e \n\u003c/p\u003e\n\n## How to use\n\n#### Use with docker run\nCommand \n`docker run IMAGE -e BOT_TOKEN=TOKEN ...` \n\nwith `-e` the \u003ca href=\"#variables\"\u003evariables\u003c/a\u003e\n\n#### Use with java\n1. Compile `mvn clean package`\n2. Run `java -jar target/bot.war` with \u003ca href=\"#variables\"\u003evariables\u003c/a\u003e\n\n#### Use with tomcat\n1. Compile `mvn clean package` and get the war file in `target`folder\n2. Config the config file of your bot `CATALINA-HOME/conf/Catalina/localhost/bot.xml` with \u003ca href=\"#variables\"\u003evariables\u003c/a\u003e\n3. Deploy the war `CATALINA-HOME/webapps/bot.war`\n\n## Variables\n\n| Key | Description | Default |\n|--|--|--|\n| LOG_FILE | Location of log file | ./log/bot.log |\n| BOT_TOKEN | Token of the Discord bot | None - **required** |\n| VIRUS_TOTAL_TOKEN | Token of the VirusTotal API | None - **required** |\n| VIRUS_TOTAL_MAX_POSITIVE_SCORE_FOR_BLACKLIST | Max number of positive score to backlist the url. More the positive score is high, more the url represents a risk. | 3 |\n| DB_USERNAME | The username used for your database | bot |\n| DB_PASSWORD | The password used for your database | bot |\n| DB_FILE-PATH | Where your database files are stored | ./data/discordvirustotal |\n| DB_NAME | The name of the table | bot |\n\n## Licence\n\nProject under [MIT](https://github.com/brandonfl/discord-virustotal-bot/blob/master/LICENSE) licence\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonfl%2Fdiscord-virustotal-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandonfl%2Fdiscord-virustotal-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonfl%2Fdiscord-virustotal-bot/lists"}