Macro command
macro_rules! command {
($flag:ident, $($k:tt)*) => { ... };
}Expand description
Creates a CommandContent instance with the given flag and formatted data.
ยงArguments
$flag- ACommandFlagvariant (JSONorEmpty) that represents the flag for the command.$($k:tt)*- A format string and its arguments to be used as the data in theCommandContentinstance.