![]() |
D++ (DPP)
C++ Discord API Bot Library
|
Application command permissions allow you to enable or disable commands for specific users or roles within a guild. More...
#include <slashcommand.h>
Collaboration diagram for dpp::command_permission:Public Attributes | |
| snowflake | id |
| the ID of the role or user More... | |
| bool | permission |
| true to allow, false, to disallow More... | |
| command_permission_type | type |
| the type of permission More... | |
Application command permissions allow you to enable or disable commands for specific users or roles within a guild.
| snowflake dpp::command_permission::id |
the ID of the role or user
| bool dpp::command_permission::permission |
true to allow, false, to disallow
| command_permission_type dpp::command_permission::type |
the type of permission