MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / command_permission

Method command_permission

src/dpp/slashcommand.cpp:933–935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

931}
932
933command_permission::command_permission(snowflake id, const command_permission_type t, bool permission) :
934 id(id), type(t), permission(permission) {
935}
936
937command_permission& command_permission::fill_from_json_impl(nlohmann::json* j) {
938 id = snowflake_not_null(j, "id");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected