Skip to content

Commit cc6797d

Browse files
authored
Add stage instance & guild template endpoint (#8)
I previously forgotten the STAGE_INSTANCES endpoint
1 parent c823b2b commit cc6797d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Discord/Endpoint.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,18 @@ class Endpoint
186186
// GET, DELETE
187187
public const INVITE = 'invites/:code';
188188

189+
// POST
190+
public const STAGE_INSTANCES = 'stage-instances';
189191
// GET, PATCH, DELETE
190192
public const STAGE_INSTANCE = 'stage-instances/:channel_id';
191193

194+
// GET, POST
195+
public const GUILDS_TEMPLATE = self::GUILDS.'/templates/:template_code';
196+
// GET, POST
197+
public const GUILD_TEMPLATES = self::GUILD.'/templates';
198+
// PUT, PATCH, DELETE
199+
public const GUILD_TEMPLATE = self::GUILD.'/templates/:template_code';
200+
192201
// GET, PATCH
193202
public const USER_CURRENT = 'users/@me';
194203
// GET

0 commit comments

Comments
 (0)