Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Teammangers by Clan #156

Open
3 tasks
hoersamu opened this issue Oct 25, 2022 · 0 comments
Open
3 tasks

Get Teammangers by Clan #156

hoersamu opened this issue Oct 25, 2022 · 0 comments

Comments

@hoersamu
Copy link
Member

hoersamu commented Oct 25, 2022

  • rename DISCORD_CLIENT_ID and DISCORD_CLIENT_SECRET to DISCORD_OAUTH_CLIENT_ID and DISCORD_OAUTH_CLIENT_SECRET
  • add new env variables DISCORD_BOT_CLIENT_ID and DISCORD_BOT_CLIENT_SECRET
  • add new endpoint /clans/[oid]/managers that returns the following schema:
    [{id:string, username: string, avatar: string}]

There is no API endpoint for automatically filtering by role so we'll need to fetch all members and manually filter by role. This endpoint should be implemented in the "combined" mode (e.g. only on class for PC and Console (see search)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant