Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 381 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 381 Bytes

Discord Go Role API

Env Variables:

  • DISCORD_TOKEN - Discord Bot Token
  • GUILD_ID - Discord Server/Guild ID
  • API_SECRET - API Key

API Routes

/api/role/add/{userID}/{roleID} - Add role to user

/api/role/remove/{userID}/{roleID} - Remove role from user

X-API-Key is required if API_SECRET env variable is set.


Developed by @akatiggerx04