Fix formatting

This commit is contained in:
Vasiliy Petrov 2022-06-26 17:37:26 +07:00
parent b78b1b75b3
commit b9d6081697
No known key found for this signature in database
GPG key ID: ACAD4265E193794D

View file

@ -40,7 +40,7 @@ async fn on_room_message(event: OriginalSyncRoomMessageEvent, room: Room) {
if line.contains("resolve help") { if line.contains("resolve help") {
let content = RoomMessageEventContent::text_html( let content = RoomMessageEventContent::text_html(
"Just send 'resolve (domain)'. 'resolve source' to get the code.", "Just send `resolve (domain)`. `resolve source` to get the code.",
"Just send <code>resolve (domain)</code>. <code>resolve source</code> to get the code."); "Just send <code>resolve (domain)</code>. <code>resolve source</code> to get the code.");
room.send(content, None).await.unwrap(); room.send(content, None).await.unwrap();
} else if line.contains("resolve source") { } else if line.contains("resolve source") {