(&self, name: &str)
| 488 | } |
| 489 | |
| 490 | pub fn get(&self, name: &str) -> Option<&SlashCommand> { |
| 491 | self.commands.get(name) |
| 492 | } |
| 493 | |
| 494 | pub fn search(&self, query: &str) -> Vec<&SlashCommand> { |
| 495 | let mut scored: Vec<(&SlashCommand, i32)> = self |
no outgoing calls
no test coverage detected