Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simplediscordbotsjs/codemasterdiscordbot
https://github.com/simplediscordbotsjs/codemasterdiscordbot
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/simplediscordbotsjs/codemasterdiscordbot
- Owner: SimpleDiscordBotsJS
- License: gpl-3.0
- Created: 2022-04-09T20:51:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-22T09:41:21.000Z (5 months ago)
- Last Synced: 2024-06-22T18:58:54.853Z (5 months ago)
- Language: JavaScript
- Size: 1.07 MB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# CodeM Discord Bot
---
# Instructions
>
> Configuration
> 1. Go to `Structures/`
> 2. Rename `.env.example` to `.env`
> 3. Change `.env`
>
> ```sh
> # Discord Bot Token
> BOT_TOKEN =
>
> # MongoDB url
> DATABASE_URL =
> ```
> The bot token can be copied in the Bot section of [your application](https://discord.com/developers/applications)
>## To run locally, you need Node.JS
- [Download Node.JS](https://nodejs.org/en/) - 16.14.2 or above## Start
```sh
node .
```---
> ## pm2
>
> Installation pm2
>
>
> ## Install pm2
> ```sh
> npm install --global pm2
> ```
>
> ## Startup
> - [Check this](https://futurestud.io/tutorials/pm2-restart-processes-after-system-reboot)
>
> ## Starting
> ```sh
> pm2 start . --name "CodeM bot" --watch
> ```
>
> ## Base commands for Neophyte's
> ```sh
> pm2 list - show all process
>
> pm2 stop (id) - stopping process
>
> pm2 logs (. or id) - show logs
> ```
> more in `pm2 -h` or [this](https://pm2.keymetrics.io/docs/usage/quick-start/) and Google 😉
>
> ---
>
> ## If you want to use nodemon and pm2
> - [Check this](https://stackoverflow.com/questions/69457892/nodemon-watch-vs-pm2-watch)
>
>---
> ## Contribution
​
Please make sure to read the [Contributing Guide](CONTRIBUTING.md) before sending an issue or making a pull request.