Skip to content

Commit c823b2b

Browse files
authored
Add Get Current User Guild Member Endpoint (#7)
for OAuth2 with guild.members.read scope discord/discord-api-docs#4204 Not appear in the current documentation yet
1 parent fc90b58 commit c823b2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Discord/Endpoint.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ class Endpoint
197197
public const USER_CURRENT_GUILDS = self::USER_CURRENT.'/guilds';
198198
// DELETE
199199
public const USER_CURRENT_GUILD = self::USER_CURRENT.'/guilds/:guild_id';
200+
// GET
201+
public const USER_CURRENT_MEMBER = self::USER_CURRENT.'/guilds/:guild_id/member';
200202
// GET, POST
201203
public const USER_CURRENT_CHANNELS = self::USER_CURRENT.'/channels';
202204
// GET

0 commit comments

Comments
 (0)