Skip to content

Commit

Permalink
officially deprecate commandhandler
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Oct 8, 2024
1 parent c5c57e2 commit b899e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/dpp/commandhandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ struct DPP_EXPORT command_info_t {
* functions.
* @deprecated commandhandler and message commands are deprecated and dpp::slashcommand is encouraged as a replacement.
*/
class DPP_EXPORT commandhandler {
class DPP_EXPORT DPP_DEPRECATED("commandhandler should not be used. Plese consider using dpp::cluster::register_command instead.") commandhandler {
private:
/**
* @brief List of guild commands to bulk register
Expand Down

0 comments on commit b899e70

Please sign in to comment.