Skip to content

Commit

Permalink
docs(README): removed loading commands and updated discord.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Tolga1452 committed Nov 29, 2022
1 parent 050b27d commit 91dcb5a
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,16 @@ npm install

## Setup
1. Enter your bot token in `.env` file.
2. Enter your bot ID in `config.js` file.
2. Enter your bot id in `config.js` file.

## How to use?
### 1. Setting Commands, Components and Modals
Your bot's commands, components and modals will be under the `interactions/` folder. You can edit the templates as you wish.

### Loading Commands to Discord
Run
```bash
npm run load
```
for load your bot's commands to Discord. Some global commands may have delay up to one hour.

### Using The Bot
Run
```bash
npm run start
npm start
```
and your bot will be online. Your added commands, components and modals should be working as expected.

Expand All @@ -35,7 +28,7 @@ You can report bugs, feature requests etc. [here](https://github.com/Tolga1452/d
# Used Packages
- [**axios:**](https://www.npmjs.com/package/axios) `v0.27.2`
- [**delay:**](https://www.npmjs.com/package/delay) `v5.0.0`
- [**discord.js:**](https://www.npmjs.com/package/discord.js) `v14.4.0`
- [**discord.js:**](https://www.npmjs.com/package/discord.js) `v14.7.0`
- [**dotenv:**](https://www.npmjs.com/package/dotenv) `v16.0.2`
- **fs:** `v0.0.1-security`
- [**terminal.xr:**](https://www.npmjs.com/package/terminal.xr) `v1.2.3`

0 comments on commit 91dcb5a

Please sign in to comment.