mirror of
https://github.com/cassoule/flopobot_v2.git
synced 2026-03-18 21:40:27 +01:00
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,2 @@
|
||||
node_modules
|
||||
.env
|
||||
package-lock.json
|
||||
@@ -4,7 +4,7 @@ This project contains a basic rock-paper-scissors-style Discord app written in J
|
||||
|
||||

|
||||
|
||||
> ✨ 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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user