()
| 516 | * Clear both command prefix caches. Called on /clear to release memory. |
| 517 | */ |
| 518 | export function clearCommandPrefixCaches(): void { |
| 519 | getCommandPrefix.cache.clear() |
| 520 | getCommandSubcommandPrefix.cache.clear() |
| 521 | } |
| 522 | |
| 523 | const COMMAND_LIST_SEPARATORS = new Set<ControlOperator>([ |
| 524 | '&&', |
no test coverage detected