Module command_match

Module command_match 

Source
Expand description

A CommandMatch builder

Structs§

CommandMatchBuilder
A builder that can be used to generate CommandMatch patterns. Usage: Match to any admin command with cid == 10

Functions§

match_command_pattern
Given a CommandMatch and a Command, return whether the command matches the pattern