Files
RandomMemerBot/client/readme.md
2023-10-15 03:56:17 +02:00

13 lines
766 B
Markdown

### Webserver
A simple webserver for managing sounds played by the bot.
``I havent paid much attention to this and it can be refactored, rewritten and just more structured. I didn't feel like i bothered too much so i gave it minimal attention and left it at "I just works" stage.``
//Feels weird to write basic js in the browser since it was so long ago..
## How it works,
the bot should give you an address on startup, but if you miss it, it should be http://localhost:8080 if you host it somewhere its the ip-address of the server instead of localhost.
you can manage uploaded files from the page. Upload a file and it will get stored in the sounds folder. There is no authentication so if you decide to open it up for others anyone can upload and delete.