Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/the-programmers-hangout/once-upon-a-mime
File listener bot for Discord.
https://github.com/the-programmers-hangout/once-upon-a-mime
discord-js javascript
Last synced: 2 months ago
JSON representation
File listener bot for Discord.
- Host: GitHub
- URL: https://github.com/the-programmers-hangout/once-upon-a-mime
- Owner: the-programmers-hangout
- Created: 2022-03-18T10:02:57.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-08T11:14:04.000Z (almost 2 years ago)
- Last Synced: 2024-02-05T12:48:58.581Z (12 months ago)
- Topics: discord-js, javascript
- Language: JavaScript
- Homepage:
- Size: 3.08 MB
- Stars: 2
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Once Upon A Mime
File listener bot for Discord written in Sapphire, a Discord.js framework.
## 1. Clone the repo
```
git clone https://github.com/the-programmers-hangout/Once-Upon-A-Mime.git
```## 2. Install dependencies
```
npm install
```## 3. Configuration
The first thing to do is to add a `.env` file and add your bot token from your Discord developer portal page (see `.env.example` file).
Configuration commands will be added in the future. As of now, you will have to work with a `config.json` file (see `config.json.example` for an example config file, you can use it as a base). Update `server_id` and `channel_id` in the file and update the `whitelist` and `uploadableMimes` fields as you see fit.
## 4. Run the bot
```
node src/index.js
```or if you're tired of doing the above command again and again
```
npm i -g nodemon
nodemon src/index.js
```