| 1 |
\page clearing_slashcommands Clearing Registered Commands |
| 2 |
|
| 3 |
After a while of creating commands, you may start to wonder "hm, how can I clear these?". Well, this tutorial covers it! All you have to do is simply call dpp::cluster::global_bulk_command_delete or dpp::cluster::guild_bulk_command_delete. |
| 4 |
|
| 5 |
\note Clearing **global commands** will only clear commands that were **made globally**, same goes for the opposite way round. The example will demonstrate using both functions. |
| 6 |
|
| 7 |
\include{cpp} clearing_slashcommands.cpp |