Skip to content

Latest commit

 

History

History
69 lines (58 loc) · 1.9 KB

README.md

File metadata and controls

69 lines (58 loc) · 1.9 KB

Alpha Beta Discord Bot

How to run it

  1. create a virtualenv and install packages and create .env file
    • if you use windows
      python -m venv .venv
      .\.venv\Script\activate
      pip install -r requirements.txt
      rename .env-sample to .env and put your discord ID to USER_ID variable must be an integer
    • if you use linux
      sudo apt install virtualenv
      virtualenv -p py3 .venv
      source .venv/bin/activate
      pip3 install -r requirements.txt
      mv .env-sample .env
      # open .env file and put this on it
      USER_ID = # your discord ID must be an integer
    • if you use mac
      sudo brew install virtualenv
      virtualrnv -p py3 .venv
      source .venv/bin/activate
      pip3 install -r requirements.txt
      mv .env-sample .env
      # open .env file and put this on it
      USER_ID = # your discord ID must be an integer
  2. run bot
    python3 happy.py
    python3 sad.py

bot commands

feels

  1. feels => if on sad bot => Add your sad feels to database , if on happy bot Add your happy feels to database

  2. time, much => if on sad bot => show your sad feels, if on happy bot show your happy feels

  3. clear => clear your feels

notes

  1. note, notes, add-note => add your notes to database

  2. show-note, see-note, find-note => add your notes to database

  3. delete-note, del-note => delete your notes from database

codes

  1. code, codes, add-code => add your codes to database

  2. show-code, see-code, find-code => add your codes to database

  3. delete-code, del-code => delete your codes from database

help

  1. help => help command

i hope you enjoy that

writed by metidotpy