Discord Interactions Bot Demo made with DiscordPHP-Slash, via heroku apache2
- Clone/download the repository
- Run
composer update
- Go to Discord developers portal
- Create/select your application
- Copy Public Key
- Paste public key to environment variable
CLIENT_PUBLIC_KEY
- Deploy your app
- Set Interactions Endpoint URL:
- Click Save
- Type the
/ping
command on your Bot in Discord
Note: Does not include steps to register the
/ping
command definitions, do it manually via Postman or use DiscordPHP-Slash Register class