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

Method interaction_modal_response

src/dpp/slashcommand.cpp:866–869  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864void to_json(json& j, const component& cp);
865
866interaction_modal_response::interaction_modal_response() : interaction_response(ir_modal_dialog), current_row(0) {
867 // Default to one empty row
868 components.push_back({});
869}
870
871interaction_modal_response::interaction_modal_response(const std::string& _custom_id, const std::string& _title, const std::vector<component> _components) :
872 interaction_response(ir_modal_dialog),

Callers

nothing calls this directly

Calls 2

utf8substrFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected