You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @brief Create a follow-up message for this interaction.
574
+
* @param m Message object to send. Not all fields are supported by Discord.
575
+
* @param callback User function to execute when the api call completes.
576
+
* On success the callback will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
577
+
*/
578
+
voidfollow_up(const message& m, command_completion_event_t callback = utility::log_error()) const;
579
+
580
+
/**
581
+
* @brief Create a follow-up message for this interaction.
582
+
* @param mt The string value to send, for simple text only messages
583
+
* @param callback User function to execute when the api call completes.
584
+
* On success the callback will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
* @param m Message object to send. Not all fields are supported by Discord.
653
669
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
654
670
*/
655
-
dpp::async<dpp::confirmation_callback_t> co_reply(interaction_response_type t, constmessage& m) const;
671
+
dpp::async<dpp::confirmation_callback_t> co_reply(interaction_response_type t, message m) const;
* @param mt The string value to send, for simple text only messages
662
678
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
* @param m Message object to send. Not all fields are supported by Discord.
671
687
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
672
688
*/
673
-
dpp::async<dpp::confirmation_callback_t> co_reply(constmessage& m) const;
689
+
dpp::async<dpp::confirmation_callback_t> co_reply(message m) const;
* @param mt The string value to send, for simple text only messages
680
696
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
* @brief Create a follow-up message for this interaction.
702
+
*
703
+
* @param m Message object to send. Not all fields are supported by Discord.
704
+
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
705
+
*/
706
+
dpp::async<dpp::confirmation_callback_t> co_follow_up(message m) const;
707
+
708
+
/**
709
+
* @brief Create a follow-up message for this interaction.
710
+
*
711
+
* @param mt The string value to send, for simple text only messages
712
+
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
* @param m Message object to send. Not all fields are supported by Discord.
696
728
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
697
729
*/
698
-
dpp::async<dpp::confirmation_callback_t> co_edit_response(constmessage& m) const;
730
+
dpp::async<dpp::confirmation_callback_t> co_edit_response(message m) const;
699
731
700
732
/**
701
733
* @brief Edit the response for this interaction
702
734
*
703
735
* @param mt The string value to send, for simple text only messages
704
736
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
* @param m Message object to send. Not all fields are supported by Discord.
727
759
* On success the result will contain a dpp::message object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
728
760
*/
729
-
dpp::async<dpp::confirmation_callback_t> co_edit_original_response(const message& m) const;
761
+
dpp::async<dpp::confirmation_callback_t> co_edit_original_response(message m) const;
762
+
763
+
/**
764
+
* @brief Edit original response message for this interaction
765
+
*
766
+
* @param mt The string value to send, for simple text only messages
767
+
* On success the result will contain a dpp::message object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
1759
1799
*/
1760
-
dpp::async<dpp::confirmation_callback_t> co_send(const std::string& m) const;
1761
-
1762
-
/**
1763
-
* @brief Send a message to the same channel as the channel_id in received event.
1764
-
*
1765
-
* @param msg Message to send
1766
-
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
dpp::async<dpp::confirmation_callback_t> co_send(std::string m) const;
1769
1801
1770
1802
/**
1771
1803
* @brief Send a message to the same channel as the channel_id in received event.
1772
1804
*
1773
1805
* @param msg Message to send
1774
1806
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
* @param mention_replied_user mentions (pings) the author of message replied to, if true
1783
1815
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
1784
1816
*/
1785
-
dpp::async<dpp::confirmation_callback_t> co_reply(conststd::string& m, bool mention_replied_user = false) const;
1817
+
dpp::async<dpp::confirmation_callback_t> co_reply(std::string m, bool mention_replied_user = false) const;
1786
1818
1787
1819
/**
1788
1820
* @brief Reply to the message received in the event.
* @param mention_replied_user mentions (pings) the author of message replied to, if true
1792
1824
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
* @brief Reply to the message received in the event.
1798
-
*
1799
-
* @param msg Message to send as a reply.
1800
-
* @param mention_replied_user mentions (pings) the author of message replied to, if true
1801
-
* On success the result will contain a dpp::confirmation object in confirmation_callback_t::value. On failure, the value is undefined and confirmation_callback_t::is_error() method will return true. You can obtain full error details with confirmation_callback_t::get_error().
0 commit comments