Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit fb363ed

Browse files
committed
Add more command option types
1 parent 5b7a099 commit fb363ed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Discord/Enums/ApplicationCommandOptionType.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Discord\Slash\Enums;
1313

1414
/**
15-
* @link https://discord.com/developers/docs/interactions/slash-commands#applicationcommandoptiontype
15+
* @link https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-type
1616
* @author David Cole <[email protected]>
1717
*/
1818
final class ApplicationCommandOptionType
@@ -25,4 +25,7 @@ final class ApplicationCommandOptionType
2525
public const USER = 6;
2626
public const CHANNEL = 7;
2727
public const ROLE = 8;
28+
public const MENTIONABLE = 9;
29+
public const NUMBER = 10;
30+
public const ATTACHMENT = 11;
2831
}

0 commit comments

Comments
 (0)