Skip to content

Commit 2fa6a39

Browse files
committed
fix wrong auto moderation rule endpoint
1 parent 1be6e8b commit 2fa6a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Discord/Endpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class Endpoint
206206
// GET, POST
207207
public const GUILD_AUTO_MODERATION_RULES = self::GUILD.'/auto-moderation/rules';
208208
// GET, PATCH, DELETE
209-
public const GUILD_AUTO_MODERATION_RULE = self::GUILD.'/:auto_moderation_rule_id';
209+
public const GUILD_AUTO_MODERATION_RULE = self::GUILD.'/auto-moderation/rules/:auto_moderation_rule_id';
210210

211211
// GET, PATCH
212212
public const USER_CURRENT = 'users/@me';

0 commit comments

Comments
 (0)