forked from projectmoon/tenebrous-dicebot
Minor documentation update.
This commit is contained in:
parent
494d28486e
commit
b4321721c4
|
@ -112,9 +112,8 @@ fn execution_allowed(cmd: &(impl Command + ?Sized), ctx: &Context<'_>) -> Result
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Attempt to execute a command, and return the content that should
|
/// Attempt to execute a command, and return the content that should
|
||||||
/// go back to Matrix, if the command was executed (successfully or
|
/// go back to Matrix, if the command was executed, whether or not the
|
||||||
/// not). If a command is determined to be ignored, this function will
|
/// command was successful.
|
||||||
/// return None, signifying that we should not send a response.
|
|
||||||
pub async fn execute_command(ctx: &Context<'_>) -> ExecutionResult {
|
pub async fn execute_command(ctx: &Context<'_>) -> ExecutionResult {
|
||||||
let cmd = parser::parse_command(&ctx.message_body)?;
|
let cmd = parser::parse_command(&ctx.message_body)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue