Skip to main content

exit

Function exit 

Source
pub async fn exit(ctx: CommandContext) -> CommandResult
Expand description

Execute the exit command

Exits with the specified code (default 0). Note: This doesn’t actually exit the process, it returns the exit code.