iKetan-discort

Last updated:10 Jan 2022

#iKetan-discort

iKetan-discort is a Discord bot created on Python 3 with pycord, developed mainly to fulfill my needs (for instance, instant image search, get todo list, file sharing, etc).

#Status

Release: Dev
Bot Invitation Link: (TBA)

#How To

  1. Install latest Python 3

    • Windows: Manual download and install from python.org/downloads

      :memo: Python 3.9+ cannot be used on Windows 7 or earlier[1]

    • Linux:
      1
      sudo apt install python3
  2. Clone the iKetan-discort git repository

    1
    git clone https://github.com/KetanBasi/iKetan-discort

    then move to that local repository folder:

    1
    cd iKetan-discort
  3. Create Python virtual environment (Python venv[2]) (optional)

    1
    python3 -m venv env

    and activate the python virtual environment with:

    1
    source env/bin/activate

    to deactivate the virtual environment you can execute the following instruction later:

    1
    deactivate
  4. Install all required Python packages listed in requirements.txt

    1
    pip install -r requirements.txt
  5. Add environment variables to your deployment environment or create .env file, which contains:

    1. iketan-token: Discord bot token from Discord Developer Portal
    2. owner: Your Discord user ID[3] (will be marked as the owner of the bot)
    3. tenor: Tenor token for gif functionalities
    4. unsplash: Unsplash token for image/wallpaper search
    5. notion: Notion token for Notion integeration
  6. Run it

    1
    python3 main.py

#Features & Integerations

  1. Anonfiles (upload & check file availability)
  2. Fun commands
    1. Gif search (powered by Tenor)
    2. Coin Flip
    3. Dice Roll
    4. etc.
  3. Unsplash (Image search)
  4. CodeStats (Programming experience)
  5. Message Moderation (i.e. delete message)

#Footnotes

  1. Incompabilities listed on Python Windows Release Page
  2. Read more about python venv on Python venv Libary
  3. Read more how to get Discord User ID on Discord Support Page