a really dumb discord bot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mark 5c7a1d9a51 reorder some things 1 year ago
.gitignore init 1 year ago
LICENSE.txt init 1 year ago
README.md reorder some things 1 year ago
config.example.json init 1 year ago
haarcascade_frontalface_default.xml init 1 year ago
main.py init 1 year ago


a stupid discord bot i made

this thing finds faces in images and crops in on them and reposts them to the channel it saw them in

it'll also respond to the text “ping” with “pong”

has some dependencies, can't be bothered to make a requirements.txt right now

how to do things

  1. put your discord key in config.json as per config.example.json
  2. create the directories faces/ and img_cache/
  3. run main.py to do things
  4. probably set up a cronjob to clear these directories every so often, the bot doesn't remove anything
  5. glhf