mirror of
https://github.com/cassoule/flopobot_v2.git
synced 2026-03-18 21:40:27 +01:00
1ea58eac8c5f821b6c3f6e23689055d7843ac791
Getting started app for Discord
This project contains a basic Rock-Paper-Scissors-style Discord app built for the getting started guide.
A version of this code is also hosted on Glitch.
Project structure
Below is a basic overview of the project structure:
├── examples -> short, feature-specific sample apps
│ ├── button.js
│ ├── command.js
│ ├── modal.js
│ ├── selectMenu.js
├── .env.sample -> sample .env file
├── app.js -> main entrypoint for app
├── commands.js -> slash command payloads + helpers
├── game.js -> logic specific to RPS
├── utils.js -> utility functions and enums
├── package.json
├── README.md
└── .gitignore
Running app locally
Resources
- Join the Discord Developers server to ask questions about the API, attend events hosted by the Discord API team, and interact with other devs.
- Read the documentation for in-depth information about API features
Description
Languages
JavaScript
100%