* @brief Gets the command with the given name, specific to this plugin. * * @param name name or alias of the command * @return the plugin command if found, otherwise null */
| 120 | * @return the plugin command if found, otherwise null |
| 121 | */ |
| 122 | [[nodiscard]] PluginCommand *getCommand(std::string name) const |
| 123 | { |
| 124 | std::transform(name.begin(), name.end(), name.begin(), [](unsigned char c) { return std::tolower(c); }); |
| 125 | return getServer().getPluginCommand(name); |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * @brief Returns the folder that the plugin data's files are located in. |
nothing calls this directly
no test coverage detected