Remove warning from typing.stop()

See https://github.com/serenity-rs/serenity/pull/2081
This commit is contained in:
Elnu 2022-08-04 13:01:53 -07:00
parent b343f658ff
commit 59d9d1143b

View file

@ -169,7 +169,7 @@ async fn submit(ctx: &Context, msg: &Message) -> CommandResult {
} else if invalid_types {
message.push_str("Sorry, your submission could not be uploaded; only **.png**, **.jpg**, and **.jpeg** files are permitted.");
}
typing.stop();
let _ = typing.stop();
msg.reply(&ctx.http, message).await?;
Ok(())
}