No description
  • Python 99%
  • Dockerfile 1%
Find a file
Riley Snyder 36159c3b7c
fastapi==0.90.1 (#6)
* fastapi==0.90.1

* Update Dockerfile
2024-01-31 14:57:32 -06:00
.gitignore create new apps and bots 2021-11-10 17:53:44 -06:00
db.ini postgres 2021-11-13 11:00:46 -06:00
db.py chore: total_bots->bots 2023-01-03 19:14:50 -06:00
discord.py pushing stale changes 2023-11-18 15:35:31 -06:00
Dockerfile fastapi==0.90.1 (#6) 2024-01-31 14:57:32 -06:00
main.py pushing stale changes 2023-11-18 15:35:31 -06:00
README.md fix claim func 2022-01-27 16:57:21 -06:00
requirements.txt fastapi==0.90.1 (#6) 2024-01-31 14:57:32 -06:00

discord-bot-manager

an api to help you manage your other bots

master is not assumed stable

storage

postgres

export DB_HOST="" # postgres host
export DB_DB="" # postgres database
export DB_USER="" # postgres user
export DB_PASS="" # postgres password

auth

lazy: using the browser dev tools, capture a post call and view the Authorization header

export AUTH='mfa_' # Authorization header
export TEAMS='["00000000000000"]' # json of team ids to create bots in

main

fastapi server to enable bot creation via http

uvicorn main:app

create_bot

create a new discord application

create a new discord bot and generate a token (these together are one action)

db

store a new bot in the db

get a bot from the db

mark a bot as claimed

get count of unclimed bots