Merge pull request #17 from ilyigna/main

small changes
This commit is contained in:
shay
2023-01-25 09:39:28 -08:00
committed by GitHub
3 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,2 @@
node_modules
.env
package-lock.json

View File

@@ -4,7 +4,7 @@ This project contains a basic rock-paper-scissors-style Discord app written in J
![Demo of app](/assets/getting-started-demo.gif?raw=true)
> ✨ A version of this code is also hosted **[on Glitch 🎏](https://glitch.com/~getting-started-discord)** and **[on Replit 🌀](https://replit.com/@shaydewael/discord-example-app)**
> ✨ A version of this code is also hosted **[on Glitch 🎏](https://glitch.com/~getting-started-discord)** and **[on Replit 🌀](https://replit.com/github/discord/discord-example-app)**
## Project structure
Below is a basic overview of the project structure:
@@ -27,11 +27,13 @@ Below is a basic overview of the project structure:
## Running app locally
Before you start, you'll need to [create a Discord app](https://discord.com/developers/applications) with the proper permissions:
Before you start, you'll need to install [NodeJS](https://nodejs.org/en/download/) and [create a Discord app](https://discord.com/developers/applications) with the proper permissions:
- `applications.commands`
- `bot` (with Send Messages enabled)
Configuring the app is covered in detail in the [getting started guide](https://discord.com/developers/docs/getting-started).
### Setup project
First clone the project:

View File

@@ -12,9 +12,9 @@
"license": "MIT",
"dependencies": {
"discord-interactions": "^3.2.0",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"node-fetch": "^3.2.3"
"dotenv": "^16.0.3",
"express": "^4.18.2",
"node-fetch": "^3.3.0"
},
"devDependencies": {
"nodemon": "^2.0.15"