Skip to content

Commit c9488a5

Browse files
committed
1 parent fcda5a7 commit c9488a5

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/main.rs

+10-4
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,11 @@ async fn got_command(bot: Bot, dialogue: MyDialogue, msg: Message, cmd: Command)
266266
}
267267
None => {
268268
error!("Move failed, invalid film id {:?}", id);
269-
bot.send_message(msg.chat.id, "⚠️ Move failed, invalid film id".to_string())
270-
.await?;
269+
bot.send_message(
270+
msg.chat.id,
271+
"⚠️ Move failed, invalid film id".to_string(),
272+
)
273+
.await?;
271274
}
272275
}
273276
} else {
@@ -362,8 +365,11 @@ async fn got_command(bot: Bot, dialogue: MyDialogue, msg: Message, cmd: Command)
362365
}
363366
None => {
364367
error!("Info failed, invalid film {:?}", id);
365-
bot.send_message(msg.chat.id, "⚠️ Info failed, invalid film id".to_string())
366-
.await?;
368+
bot.send_message(
369+
msg.chat.id,
370+
"⚠️ Info failed, invalid film id".to_string(),
371+
)
372+
.await?;
367373
}
368374
}
369375
} else {

0 commit comments

Comments
 (0)