|
188 | 188 | <div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="class_discord_c_p_p_1_1_application_command.html#a1b9cdfb3eb36e645f95fd4cf21c41e6e"> 107</a></span> <a class="code hl_define" href="_audio_source_8h.html#a1ca888bd091694c05472e1b91df1a97b">DLL_EXPORT</a> <span class="keywordtype">void</span> <a class="code hl_function" href="class_discord_c_p_p_1_1_application_command.html#a1b9cdfb3eb36e645f95fd4cf21c41e6e">set_nsfw</a>(<span class="keywordtype">bool</span> nsfw) { this->nsfw = nsfw; }</div>
|
189 | 189 | <div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="class_discord_c_p_p_1_1_application_command.html#a049b1bc2c739def1e9f1deb490a26c4a"> 109</a></span> <a class="code hl_define" href="_audio_source_8h.html#a1ca888bd091694c05472e1b91df1a97b">DLL_EXPORT</a> <span class="keywordtype">void</span> <a class="code hl_function" href="class_discord_c_p_p_1_1_application_command.html#a049b1bc2c739def1e9f1deb490a26c4a">add_integration_types</a>(<a class="code hl_enumeration" href="class_discord_c_p_p_1_1_application_command.html#a93fb8fe0a3b796ee91b88de70c804713">IntegrationType</a> integration_type) { integration_types.push_back(integration_type); }</div>
|
190 | 190 | <div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="class_discord_c_p_p_1_1_application_command.html#a29722151044bba8e3bc911e5f6fd6b8e"> 111</a></span> <a class="code hl_define" href="_audio_source_8h.html#a1ca888bd091694c05472e1b91df1a97b">DLL_EXPORT</a> <span class="keywordtype">void</span> <a class="code hl_function" href="class_discord_c_p_p_1_1_application_command.html#a29722151044bba8e3bc911e5f6fd6b8e">add_contexts</a>(<a class="code hl_enumeration" href="class_discord_c_p_p_1_1_application_command.html#a44ea1cf836a7fcca0e225079c8ddf807">ContextType</a> context) { contexts.push_back(context); }</div>
|
191 |
| -<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="class_discord_c_p_p_1_1_application_command.html#ad87d85adf896e5489f6cebc8ea00bbd6"> 113</a></span> <a class="code hl_define" href="_audio_source_8h.html#a1ca888bd091694c05472e1b91df1a97b">DLL_EXPORT</a> <span class="keywordtype">void</span> <a class="code hl_function" href="class_discord_c_p_p_1_1_application_command.html#ad87d85adf896e5489f6cebc8ea00bbd6">get_handler</a>(<a class="code hl_enumeration" href="class_discord_c_p_p_1_1_application_command.html#a2d354801c270886aa8ab77395855756a">HandlerType</a> handler) { this->handler.emplace(handler); }</div> |
| 191 | +<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="class_discord_c_p_p_1_1_application_command.html#a66cfa59b2e47665360497cfc77dadd11"> 113</a></span> <a class="code hl_define" href="_audio_source_8h.html#a1ca888bd091694c05472e1b91df1a97b">DLL_EXPORT</a> <span class="keywordtype">void</span> <a class="code hl_function" href="class_discord_c_p_p_1_1_application_command.html#a66cfa59b2e47665360497cfc77dadd11">set_handler</a>(<a class="code hl_enumeration" href="class_discord_c_p_p_1_1_application_command.html#a2d354801c270886aa8ab77395855756a">HandlerType</a> handler) { this->handler.emplace(handler); }</div> |
192 | 192 | <div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span>};</div>
|
193 | 193 | </div>
|
194 | 194 | <div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span>} <span class="comment">// namespace DiscordCPP</span></div>
|
|
216 | 216 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_a64f7b574dc6fb66ba0cc9a35d7ea52dca8db097cf651290cb6dad626b2982695c"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#a64f7b574dc6fb66ba0cc9a35d7ea52dca8db097cf651290cb6dad626b2982695c">DiscordCPP::ApplicationCommand::CHAT_INPUT</a></div><div class="ttdeci">@ CHAT_INPUT</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:15</div></div>
|
217 | 217 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_a64f7b574dc6fb66ba0cc9a35d7ea52dcac8c89cc438f84ec6376b1fcb03b9f5c3"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#a64f7b574dc6fb66ba0cc9a35d7ea52dcac8c89cc438f84ec6376b1fcb03b9f5c3">DiscordCPP::ApplicationCommand::USER</a></div><div class="ttdeci">@ USER</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:16</div></div>
|
218 | 218 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_a666a685cc1890803194616bbd42766a7"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#a666a685cc1890803194616bbd42766a7">DiscordCPP::ApplicationCommand::is_nsfw</a></div><div class="ttdeci">bool is_nsfw()</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:86</div></div>
|
| 219 | +<div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_a66cfa59b2e47665360497cfc77dadd11"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#a66cfa59b2e47665360497cfc77dadd11">DiscordCPP::ApplicationCommand::set_handler</a></div><div class="ttdeci">void set_handler(HandlerType handler)</div><div class="ttdoc">Set the handler type for PRIMARY_ENTRY_POINT.</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:113</div></div> |
219 | 220 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_a6761ae35c9ea048a0062957f01ccbfa1"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#a6761ae35c9ea048a0062957f01ccbfa1">DiscordCPP::ApplicationCommand::add_option</a></div><div class="ttdeci">void add_option(ApplicationCommandOptionVariant option)</div><div class="ttdoc">Add parameters for the command, max of 25.</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:105</div></div>
|
220 | 221 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_a69668a9bc02fe6f1d148db922be99e1c"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#a69668a9bc02fe6f1d148db922be99e1c">DiscordCPP::ApplicationCommand::delete_command</a></div><div class="ttdeci">void delete_command()</div><div class="ttdoc">Delete this command.</div><div class="ttdef"><b>Definition</b> ApplicationCommand.cpp:68</div></div>
|
221 | 222 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_a724c62ea328ec5e84013d7cce279e43e"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#a724c62ea328ec5e84013d7cce279e43e">DiscordCPP::ApplicationCommand::get_name</a></div><div class="ttdeci">std::string get_name()</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:78</div></div>
|
|
229 | 230 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_ad6d082e0e256b4f64240a3f723e36612"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#ad6d082e0e256b4f64240a3f723e36612">DiscordCPP::ApplicationCommand::get_type</a></div><div class="ttdeci">Type get_type()</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:82</div></div>
|
230 | 231 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_ad7254ba91860101bade9e5c4d7506d20"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#ad7254ba91860101bade9e5c4d7506d20">DiscordCPP::ApplicationCommand::get_description</a></div><div class="ttdeci">std::string get_description()</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:80</div></div>
|
231 | 232 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_ad7679dd33a621477ad6ba6546dfd3601"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#ad7679dd33a621477ad6ba6546dfd3601">DiscordCPP::ApplicationCommand::to_json</a></div><div class="ttdeci">json to_json()</div><div class="ttdef"><b>Definition</b> ApplicationCommand.cpp:42</div></div>
|
232 |
| -<div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_ad87d85adf896e5489f6cebc8ea00bbd6"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#ad87d85adf896e5489f6cebc8ea00bbd6">DiscordCPP::ApplicationCommand::get_handler</a></div><div class="ttdeci">void get_handler(HandlerType handler)</div><div class="ttdoc">Set the handler type for PRIMARY_ENTRY_POINT.</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:113</div></div> |
233 | 233 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_af8dd068e4d0ee50cd7a65e75656f2004"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#af8dd068e4d0ee50cd7a65e75656f2004">DiscordCPP::ApplicationCommand::get_options</a></div><div class="ttdeci">std::vector< ApplicationCommandOptionVariant > get_options()</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:84</div></div>
|
234 | 234 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_afad81e5159a237125e546fcd35ae9150"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#afad81e5159a237125e546fcd35ae9150">DiscordCPP::ApplicationCommand::get_guild_id</a></div><div class="ttdeci">std::optional< std::string > get_guild_id()</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:76</div></div>
|
235 | 235 | <div class="ttc" id="aclass_discord_c_p_p_1_1_application_command_html_afc9fe25a9a28a511c5218bce00526c4e"><div class="ttname"><a href="class_discord_c_p_p_1_1_application_command.html#afc9fe25a9a28a511c5218bce00526c4e">DiscordCPP::ApplicationCommand::get_application_id</a></div><div class="ttdeci">std::string get_application_id()</div><div class="ttdef"><b>Definition</b> ApplicationCommand.h:74</div></div>
|
|
0 commit comments