Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/ElektronPlus/discord into main
Browse files Browse the repository at this point in the history
  • Loading branch information
konhi committed Oct 14, 2021
2 parents 20c355c + 254a3be commit 8d01c8c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@
- `git clone https://github.com/ElektronPlus/discord.git`
2. `cd discord/`
3. create [dotenv file](https://www.npmjs.com/package/dotenv) with DISCORD_TOKEN
- echo `DISCORD_TOKEN="Discord Bot Token" > .env`
- `echo DISCORD_TOKEN="Discord Bot Token" > .env`
4. install required dependencies with `npm install`
5. you can use [📦 nodemon](https://www.npmjs.com/package/nodemon) to instantly see results while developing
- `npm run dev`

## Info
- bot requires `bot` and `applications.commands` scopes
- after adding a new /command, you might get error `Invalid interaction application command`. Just wait 1 hour for Discord to refresh global commands

0 comments on commit 8d01c8c

Please sign in to comment.