{"id":19179606,"url":"https://github.com/animenosekai/easygif","last_synced_at":"2025-05-07T21:46:49.576Z","repository":{"id":115283293,"uuid":"264765116","full_name":"Animenosekai/EasyGif","owner":"Animenosekai","description":"A quick gif sending discord bot written in python","archived":false,"fork":false,"pushed_at":"2024-05-20T22:38:44.000Z","size":141,"stargazers_count":8,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T21:46:44.264Z","etag":null,"topics":["animenosekai","discord","discord-bot","easygif","gif","python","python-3"],"latest_commit_sha":null,"homepage":null,"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/Animenosekai.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,"zenodo":null}},"created_at":"2020-05-17T22:02:29.000Z","updated_at":"2023-11-15T22:24:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"e35a879f-393c-4317-8177-1da880351606","html_url":"https://github.com/Animenosekai/EasyGif","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Animenosekai%2FEasyGif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Animenosekai%2FEasyGif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Animenosekai%2FEasyGif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Animenosekai%2FEasyGif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Animenosekai","download_url":"https://codeload.github.com/Animenosekai/EasyGif/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252961858,"owners_count":21832192,"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":["animenosekai","discord","discord-bot","easygif","gif","python","python-3"],"created_at":"2024-11-09T10:43:37.053Z","updated_at":"2025-05-07T21:46:49.555Z","avatar_url":"https://github.com/Animenosekai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EasyGif\n\n[![EasyGif Logo](https://easygif-assets.netlify.app/assets/public/logos/easygif/easygif_logo.jpg)](https://bit.ly/invite-easygif)\n\n### **A quick gif sending discord bot written in python**\n\n## Invite Link\n\n**\u003chttps://bit.ly/invite-easygif\u003e**\n\n\u003e Or simply type `.gifinvite` if you already have it in your discord server.\n\n### Authorization/Permission\n\nThe bot doesn't have any administrator permissions (because it's pretty weird for a gif sending bot to have such permissions) and thus won't be able to access every channel of your server (if the channel is restricted to a certain role for example).\n\n\u003e Feel free to adjust EasyGif role access to enjoy the bot everywhere you want it to be!\n\n## What is EasyGif?\n\nEasyGif is a simple bot which helps you send GIFs as quick as possible on Discord.\n\u003e Simply type `.gif \u003csearch term\u003e` replacing `\u003csearch term\u003e` with the theme of the gif you want to send.\n\nBut it has also cool features!\n\n- Write `.gifrandom` to send a random GIF to the channel\n- Write `.gifstats` to display your statistics on EasyGif\n- Write `.gifchange` to change the last gif you sent with EasyGif *(yea if you didn't like it)*\n- Write `.gifdelete` to delete the last gif you sent with EasyGif *(if you made an oopsie)*\n\nMore commands could be found using `.gifhelp` in a discord server where the bot already got invited.\n\n### Provider\n\nEasyGif uses currently two providers: Giphy and Tenor GIF.\n\nEach gif provider has 50% of chance of being the one chosen for your gif.\n\nGIFs from your search term are chosen using the search API endpoint for each provider and chosing randomly between the  results *(to give it more diversity)*\n\nUsing `.gifrandom` you have a 50% percent of chance of having a random gif from the `RANDOM_DICTIONARY` ([config.py](config.py)).\n\n## Development\n\n**You won't find any key in the source code of EasyGif**\n\nEasyGif is in constant development and fixes are made on a regular basis (but I also try to add some new features ehe)\n\n**If you have any issues, questions, development problem: feel free to ask in the issues section**\n\n#### Dependencies\n\nEasyGif won't live long without the help of its dependencies and awesome modules that others made, which includes:\n\n- Requests *(To make HTTP requests to the different API EasyGif uses)*\n\n\u003e Can be installed using `PIP` (the python package manager) through the command: `pip install requests`\n\n- Discord.py *(basically what makes the bot running and communicating with discord)*\n\n\u003e Can be installed using `PIP` through the command: `pip install discord.py`\n\n- PyMongo *(to communicate with the database)*\n\n\u003e Can be installed using `PIP` through the command: `pip install pymongo`\n\n### APIs and Documentations\n\nService | Documentations\n------------ | -------------\nMongoDB | [**MongoDB Manual**](https://docs.mongodb.com/manual/)\nHeroku | [**Heroku Documentations**](https://devcenter.heroku.com/categories/reference)\ndiscord.py | [**discord.py Documentations**](https://discordpy.readthedocs.io/en/latest/index.html#)\nDiscord (API) | [**Discord Developper Portal**](https://discord.com/developers/docs/intro)\nGiphy | [**Giphy API Documentations**](https://developers.giphy.com/docs/api#quick-start-guide)\nTenor | [**Tenor GIF API Documentations**](https://tenor.com/gifapi/documentation)\nRebrand.ly | [**Rebrand.ly API Documentations**](https://developers.rebrandly.com/docs)\nRequests | [**Requests Library Docs**](https://requests.readthedocs.io/en/master/)\nPython 3 | [**Python 3.8.3 Docs**](https://docs.python.org/3/)\n\n- MongoDB is the database used\n- Heroku is used to host the bot (for the bot to run 24/24)\n- discord.py is used to communicate with Discord's servers and contains multiple discord related functions\n- Discord is used to... well is used by you primarily but also by us to configure the bot\n- Giphy API is used to search and provide gifs\n- Tenor API is used to search and provide gifs\n- Rebrand.ly API is used to make gif link for `.gifstats` much shorter\n- Requests Python Library is used to make HTTP requests\n- Python is the programming language used to make the bot\n- Netlify is used to host the assets\n- GitHub is used to host assets and code\n\n### Versions\n\nHere are the versions used for EasyGif's development.\n\nService | Version\n------------ | -------------\nPyMongo | **Version 3.11.3**\ndiscord.py | **Version 1.7.1**\nRequests | **Version 2.23.0**\nPython 3 | **Version 3.9.6**\n\nThe bot is currently on version: **`v2.0`**\n\n#### Commands\n\nCommon commands mistypes are handled with functions written with mistypes that redirects to the main function.\n\n#### MongoDB\n\nEasyGif records every GIF request made *(including with `.gifchange`)* in a MongoDB Database for statistical purposes (when you type `.gifstats`).\n\nAll of your data can be cleared from the database using `.gifclear`\n\n#### Servers\n\n- The bot is hosted with Heroku *(the free plan)*\n\n- Assets used frequently *(such as the Giphy logo and the Tenor logo, used in every GIF requests for legal reasons)* are stored in a website made for EasyGif assets only.\n\nAssets are hosted by Netlify and GitHub.\n\n## Copyrights and Legals\n\n**EasyGif's logo is not my property and can be taken down at any time if the legal owner wants to do so.**\n\n**Giphy** is a brand which belongs to Giphy, Inc.\n\n**Tenor GIF** is a brand which belongs to Tenor, Inc.\n\n**MongoDB** is a brand which belongs to MongoDB, Inc.\n\n**Heroku** is a brand which belongs to Salesforce, Inc.\n\n**Netlify** is a brand which belongs to Netlify Co.\n\n**GitHub** is a brand which belongs to GitHub, Inc. (Microsoft)\n\n**Discord** is a brand which belongs to Discord, Inc.\n\n**Python** belongs to the Python Software Foundation\n\n**Rebrand.ly** is a service/brand which belongs to Radiate Capital Limited\n\n### Support Discord Server\n\nI don't have a dedicated support discord server though you can enter my personal discord server and ask me anything:\n[Anime no Sekai Discord Server](https://discord.com/invite/cgZWWdQ)\n\n\u003e © Anime no Sekai - 2021 ✨\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimenosekai%2Feasygif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanimenosekai%2Feasygif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimenosekai%2Feasygif/lists"}