{"id":28410686,"url":"https://github.com/georgiosdv/evil-bot","last_synced_at":"2026-04-15T16:02:21.275Z","repository":{"id":269796250,"uuid":"908487266","full_name":"GeorgiosDV/Evil-Bot","owner":"GeorgiosDV","description":"A dark and mysterious Discord Chatbot Powered by Ollama that is tasked with spreading mischief.","archived":false,"fork":false,"pushed_at":"2024-12-26T07:42:38.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T22:55:22.325Z","etag":null,"topics":["chatbot","discord","discord-py","llm","ollama"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GeorgiosDV.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":"2024-12-26T07:33:45.000Z","updated_at":"2024-12-26T07:42:41.000Z","dependencies_parsed_at":"2024-12-26T10:16:19.431Z","dependency_job_id":null,"html_url":"https://github.com/GeorgiosDV/Evil-Bot","commit_stats":null,"previous_names":["sistav/evil-bot","georgiosdv/evil-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GeorgiosDV/Evil-Bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeorgiosDV%2FEvil-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeorgiosDV%2FEvil-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeorgiosDV%2FEvil-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeorgiosDV%2FEvil-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeorgiosDV","download_url":"https://codeload.github.com/GeorgiosDV/Evil-Bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeorgiosDV%2FEvil-Bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261197022,"owners_count":23123634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["chatbot","discord","discord-py","llm","ollama"],"created_at":"2025-06-02T12:11:14.280Z","updated_at":"2026-04-10T21:03:01.768Z","avatar_url":"https://github.com/GeorgiosDV.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Evil Bot\n\nA dark and mysterious Discord chatbot tasked with spreading mischief powered by Ollama.\n\n## Prerequisites\n\n- SQLite3 \n- Python 3.8 or higher\n\n## Setup\n\n1. Install [Ollama](https://ollama.ai):\n```bash\ncurl https://ollama.ai/install.sh | sh  # On Linux/Mac\n```\n\n2. Pull the default model:\n```bash\nollama pull dolphin-mixtral:8x7b\n```\n\n3. Create and activate virtual environment:\n```bash\npython3 -m venv venv\nsource venv/bin/activate  # On Linux/Mac\n# or\n.\\venv\\Scripts\\activate  # On Windows\n```\n\n4. Install Python dependencies:\n```bash\npip install -r requirements.txt\n```\n\n5. Create a `.env` file in the project's root directory.\n   - The `BOT_TOKEN` must be specified.\n\n6. Run the bot:\n```bash\npython3 main.py\n```\n\n## Environment Variables\n\n| Variable                 | Description                              | Default                       |\n|--------------------------|------------------------------------------|-------------------------------|\n| `BOT_TOKEN`              | Your bot token (Required)                | None                          |\n| `BOT_NAME`               | Name of the bot                          | \"Evil Bot\"                    |\n| `COMMAND_PREFIX`         | Command prefix                           | \"!\"                           |\n| `MODEL_NAME`             | Ollama model                             | \"dolphin-mixtral:8x7b\"        |\n| `MAX_MESSAGE_LENGTH`     | Max Discord message length               | 2000                          |\n| `EMBED_COLOR`            | Discord embeds color                     | \"0x800000\"                    |\n| `RESPONSE_TIMEOUT`       | Responses Timeout                        | 300                           |\n| `MAX_CONTEXT_MESSAGES`   | Max number of messages in context window | 5                             |\n| `DEFAULT_TRIGGER_WORDS`  | Comma-separated list of trigger words    | \"evil,evil bot,good,good bot\" |\n| `DEFAULT_RANDOM_ENABLED` | Default random responses boolean         | \"True\"                        |\n| `DEFAULT_RANDOM_CHANCE`  | Default random responses percentage      | 10                            |\n| `DEFAULT_PERSONA`        | Default system prompt                    | See config.py                 |\n| `DATABASE_NAME`          | SQLite database file                     | \"bot_settings.db\"             |\n| `LOG_FILE_NAME`          | Log file                                 | \"bot.log\"                     |\n| `LOG_MAX_SIZE`           | Maximum size of log files in bytes       |50 MB|\n| `LOG_BACKUP_COUNT`       | Number of backup log files to keep       | 4                             |\n\n## Commands\n\n- `!set` - Set the bot's personality/system prompt\n- `!get` - Show current personality settings\n- `!default` - Reset all settings to default\n- `!trigger` - Manage trigger words\n- `!random` - Control random response settings\n- `!help` - Show all available commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgiosdv%2Fevil-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeorgiosdv%2Fevil-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgiosdv%2Fevil-bot/lists"}