/TearDrops

A sad discord bot made using discord.py

Primary LanguagePythonMIT LicenseMIT

Link to discord server
made with Python built with Love
MIT license discord.py version

All Contributors

bot version

sadblob tears cri

Python based discord bot built to add fun to the guild with memes, provide wisdom with book-recommendations along with XP rating system with TEARS currency.

A discord bot wrapped around the theme of tears and crying. In concept, the idea is absurd but that's more of a reason to make this. :) The bot uses tears as an economy and you can "cry" to get daily credit tears.

NOTE- It is recommended that you add your own discord token while running the bot.

How to test the bot before running it on your server

To test the bot join this Support Server [NOTE- Bot is not active 24x7 as it is hosted on heroku. To get a sample, join TearDropsSupport and ping @Tissue]

How to run the bot on your own server

Invite the bot to your server [NOTE- The bot is still in v0.1 and is being constantly updated and bug fixed. Inviting this, might have unintentional complications. If you really want the bot, open an issue so that we can provide a Beta Version to you that is stable and updated slowly]

Hosting the bot locally:

NOTE: To replicate this bot, you will need a bot token. Go get yours at https://discord.com/developers/ (If you need help with this step, feel free to ask for help in our Support Server).

  • Clone this repo using git clone
  • cd into the bot folder.
  • Add the token in a .env file in the project root as follows:
DISCORD_BOT_TOKEN=<your token>
docker-compose up
  • Enjoy! (don't forget to add your own bot into your discord server by generating an invite link from the discord developers application page in OAuth2 section and choose application and check Oauth2 section)
  • You may do bug-reporting or ask for help in on the SupportServer... or just open an issue on this repo.

How to contribute

Before contributing, here is some information that might help your PR (Pull Request) get merged.

How to set up the development environment

Requirements:

  • git
  • pip
  • python 3.8.1 or higher

Note: If you're not on Windows, you should also have GNU make installed, and you can optionally install pyenv, which can help you run tests for different python versions.

  1. Fork and clone the repository with git clone https://github.com/Vyvy-vi/TearDrops
  2. Get in the clone directory using the command cd TearDrops
  3. Execute the following command python3 -m venv venv
  4. Activate the virtual environment with the following command:
    • Posix
    source .venv/bin/activate
    
    • Windows
    .venv\Scripts\activate
    

Note: From here onwards, we will assume you are executing commands from within this activated virtual environment.

Note: If you're comfortable with setting up virtual environments yourself and would rather do it manually, just run pip install -r bot/requirements.txt after setting it up.

To contribute changes follow these steps:

Note: Make sure you have been assigned the issue to which you are making a PR. If you make PR before being assigned, It will be labeled invalid and closed without merging.

  1. Add a upstream link to main branch in your cloned repo
git remote add upstream https://github.com/Vyvy-vi/TearDrops.git
  1. Keep your cloned repo upto date by pulling from upstream (this will also avoid any merge conflicts while committing new changes)
git pull upstream master
  1. Create your feature branch
git checkout -b <feature-name>
  1. Commit all the changes
git commit -am "Meaningful commit message"
  1. Push the changes for review
git push origin <branch-name>
  1. Create a PR from our repo on Github.

How to report a bug

Submit an issue on GitHub and add as much information as you can about the bug, with screenshots of inputs to the bot and bot response if possible (if the issue is regarding bugs).

Note: Try to make issues that are not blank and are in their respective category.

Note: For more detailed information about how to contribute, please refere to the CONTRIBUTING.md file.

Requirements:

  • python 3
  • discord(rewrite branch)
  • asyncio(inbuilt with python3.4)
  • wikipedia
  • requests
  • aiohttp
  • pymongo
  • dnspython

Contributors ✨

Thanks goes to these wonderful people (emoji key):


All Contributors

πŸ“–

Vyom Jain

πŸ’» πŸ“† 🎨 πŸ“– 🚧 πŸ‘€

Anubhav

πŸ’» πŸ“– πŸ€” πŸš‡

Gamerrio

πŸ€” πŸ’» 🎨

Rascal_Two

πŸ› πŸ’» πŸ€”

Sayan Dutta

πŸ€” πŸ’» 🎨

Nicholas Carrigan (he/him)

πŸ€” πŸ“–

Michael Mba

πŸ€”

Allan Regush

πŸ€” πŸ“–

Matt (IPv4) Cowley

πŸ€”

Alex NΓΈrgaard

πŸ€”

Nitesh Kumar

πŸ’»

TJ LeBlanc

πŸ’»

s04

πŸ€”

Rayn Islam

πŸ› πŸ€”

Akshaya

πŸ›

Jay

πŸ€” πŸ“– πŸ›

mstanciu552

πŸ“–

Utkarsh Singh

πŸ€” πŸ“–

Sreekaran Srinath

πŸ“–

Souhit Dey

πŸ“–

Karuna Tata

🎨

This project follows the all-contributors specification. Contributions of any kind welcome!