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

Method get_command_name

src/dpp/slashcommand.cpp:496–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494}
495
496std::string interaction::get_command_name() const {
497 try {
498 return get_command_interaction().name;
499 }
500 catch (dpp::logic_exception&) {
501 return std::string();
502 }
503}
504
505interaction& interaction::fill_from_json_impl(nlohmann::json* j) {
506 j->get_to(*this);

Callers 15

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

stringFunction · 0.85

Tested by

no test coverage detected