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>
Public Attributes | |
snowflake | id |
the ID of the role or uses More... | |
command_permission_type | type |
the type of permission More... | |
bool | permission |
true to allow, false, to disallow 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 uses
bool dpp::command_permission::permission |
true to allow, false, to disallow
command_permission_type dpp::command_permission::type |
the type of permission