Get a snapshot of command entries (name, description, optional usage). Acquires the command registry lock briefly and returns owned data.
(&self)
| 618 | /// |
| 619 | /// Acquires the command registry lock briefly and returns owned data. |
| 620 | pub fn command_registry(&self) -> std::sync::MutexGuard<'_, CommandRegistry> { |
| 621 | session_commands::registry(self) |
| 622 | } |
| 623 | |
| 624 | /// Register a custom slash command. |
| 625 | /// |
no test coverage detected