cargo fmt
This commit is contained in:
parent
4fcbc6fec7
commit
3fb18ea7e0
2 changed files with 4 additions and 2 deletions
|
@ -285,7 +285,9 @@ impl Bot {
|
||||||
event!(Level::WARN, ?error, "handling command failed: {error:#}");
|
event!(Level::WARN, ?error, "handling command failed: {error:#}");
|
||||||
let _ignore = room
|
let _ignore = room
|
||||||
.send(
|
.send(
|
||||||
RoomMessageEventContent::text_plain(format!("error handling command: {error:#}")),
|
RoomMessageEventContent::text_plain(format!(
|
||||||
|
"error handling command: {error:#}"
|
||||||
|
)),
|
||||||
None,
|
None,
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
|
|
|
@ -9,7 +9,7 @@ use clap::Parser as _;
|
||||||
use color_eyre::{eyre::Context, Result};
|
use color_eyre::{eyre::Context, Result};
|
||||||
use matrix_sdk::Session;
|
use matrix_sdk::Session;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use tracing::{instrument, event, Level};
|
use tracing::{event, instrument, Level};
|
||||||
use xdg::BaseDirectories;
|
use xdg::BaseDirectories;
|
||||||
|
|
||||||
mod bot;
|
mod bot;
|
||||||
|
|
Loading…
Reference in a new issue