{"id":23749471,"url":"https://github.com/dfop02/mosquito-bot","last_synced_at":"2026-05-05T04:04:30.302Z","repository":{"id":181102947,"uuid":"664087564","full_name":"dfop02/mosquito-bot","owner":"dfop02","description":"A pre-made bot to joke your friends in your discord server","archived":false,"fork":false,"pushed_at":"2023-08-20T18:16:08.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T15:19:43.048Z","etag":null,"topics":["bot","discord","discord-bot","discord-py","funny","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"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/dfop02.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}},"created_at":"2023-07-08T22:00:10.000Z","updated_at":"2023-08-22T12:41:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb2cd6ed-92c5-4b00-8d5b-ba90969f342a","html_url":"https://github.com/dfop02/mosquito-bot","commit_stats":null,"previous_names":["dfop02/mosquito-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfop02%2Fmosquito-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfop02%2Fmosquito-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfop02%2Fmosquito-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfop02%2Fmosquito-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfop02","download_url":"https://codeload.github.com/dfop02/mosquito-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239909043,"owners_count":19716903,"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":["bot","discord","discord-bot","discord-py","funny","python","python3"],"created_at":"2024-12-31T15:19:49.975Z","updated_at":"2026-05-05T04:04:30.271Z","avatar_url":"https://github.com/dfop02.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mosquito Bot\nA discord bot made in python to joke your friends in your discord server\n\n### What is this Bot?\nThis Bot was made just to joke my friends, but after a while I notice that become a interesting to share it. Basically a collection of default uses from discord.py, so if you need some operations you may find it here.\n\n## Setup\nYou'll need use Python \u003e= 3.11\n\nClone this repo using\n```bash\ngit clone git@github.com:dfop02/mosquito-bot.git\n```\njoin `mosquito-bot` folder and install dependences using\n```bash\npip install -r requeriments.txt\n```\nthen create a copy of `.env` and save as `.env.local` filling the environments variables.\n\n## How create a Bot to use this project?\nIn order to create a new Bot for use this project, you can read [here](https://discord.com/developers/docs/getting-started) step-by-step how create it. After that, we'll need the token generated, put it on the new `.env.local` file you created by this way:\n```env\nDISCORD_TOKEN='YOUR_TOKEN_HERE'\n```\n\nIn order to get the ID from users, emojis and channels you first need enable the developer option on your discord.\n\nTo enable it, first make sure you have a payment method on file in User Settings -\u003e Billing. Then:\n\n* Open up the Discord app\n* Click on the settings cog in the bottom left corner\n* Go to Appearance -\u003e allll the way at the bottom\n* Toggle \"Developer Mode\" on and \"Application Test Mode\" on, and enter your application ID\n* Exit user settings\n\nNow click with your right click and the last options will always be the ID, so get the ID from the main channel that bot will run and add to `.env.local`\n\n## Build your own defaults\nIf you open the file `json/defaults.json` you'll find a new variables and examples that represent content from your server, you can add there to use on bot as you want, you can also copy the file as `json/defaults.local.json` with your content.\n\n## Create your own events\nMosquito Bot already uses few different events on main code, but if you needs extend it, you can check all avaiable events on [Discord.py Docs](https://discordpy.readthedocs.io/en/latest/api.html#event-reference), also can check which methods and attributes each Model has and what it does, well documented.\n\nOn code, you can just add a new event like:\n```python\n@bot.event\ndef on_invite_create(invite):\n    # Do something\n    pass\n```\n\nAll events written will be automatically working when bot runs, so you just need worry about the trigger for event happens and what he should does.\n\n## Author\n\n* [Diogo](https://github.com/dfop02)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfop02%2Fmosquito-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfop02%2Fmosquito-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfop02%2Fmosquito-bot/lists"}