Files
flopobot_v2/README.md
2022-04-01 17:27:39 -07:00

1.1 KiB

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