https://github.com/superauguste/disdb
Discord ToS!!
https://github.com/superauguste/disdb
Last synced: 4 months ago
JSON representation
Discord ToS!!
- Host: GitHub
- URL: https://github.com/superauguste/disdb
- Owner: SuperAuguste
- Created: 2020-05-16T18:17:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T19:36:45.000Z (over 3 years ago)
- Last Synced: 2025-12-16T22:29:17.543Z (6 months ago)
- Language: JavaScript
- Size: 87.1 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# disdb
Storing data on Discord!
# Bot Commands
- **/list**: see the files stored in disdb
- **/play **: play a file from disdb in your channel!
- **/preview **: see that file. we know you want to.
- **/record**
- **/record start**: start recording in the voice channel that you're in!
- **/record stop**: stop the recording and upload the recordings to disdb
- **/delete**
- **/delete **: wipes a file from disdb
- **/delete**: delete all the files. like all of them.
# Web Interface
- **upload**: for when you want to host _The Room (No Sex Scenes)_ in a discord channel
- **delete**: kill that file
- **preview**: (try to) see that file
- **download**: yes, you can download _The Room_. enjoy, discord.
# Technical Stuff
## p2p
We tried p2p uploads. Tried would be the key word. It's almost there, we promise.
## .env
```
TOKEN=
PORT=8080
```
## Heroku
- Set up a heroku app
- `heroku config:set TOKEN= BASE_URL=`
## Project Structure
### SRC
- **index.js** initializes the app, discord client, and the app endpoints.
- API Handlers live in **controllers.js**
- The main bot logic lives in **discord.js**
- Common functionality shared between the discord client and the api lives in **common.js**. This includes service-insensitive variables like the baseUrl and helpers like **uploadBuffer**.