Skip to content

Commit

Permalink
readme: add note on using register (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhouweling authored Oct 19, 2024
1 parent d05aa12 commit 5819f46
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ This Discord bot can pull stats from Halo Waypoint and post accordingly.
a. Follow the steps in Discord's Developer Documentation for Creating your first app to set the respective `DISCORD_API_*` variables in the `.env` file... you'll also need to hook up the Discord app you just created to a server
b. Use a spare Microsoft account (or create one) which has also been set up to have an xbox gamer tag and has accessed Halo Waypoint before... then add the username and password to the `XBOX_*` variables in the `.env` file
4. In terminal do `npm install`
5. In terminal do `npm start`
5. On the basis that you just minted a new application, in terminal, do `npm run register` so that the commands are available in your server
6. In terminal do `npm start`

Now in a channel you can use `/stats` command.

## How does it work?

Expand Down

0 comments on commit 5819f46

Please sign in to comment.