Compare commits
2 Commits
e71cde3735
...
a5f02631e8
| Author | SHA1 | Date | |
|---|---|---|---|
| a5f02631e8 | |||
|
|
5978db5f2d |
@ -157,7 +157,7 @@ async fn handle_callback(bot: Bot, mut db: DB, bm: BotMessage, q: CallbackQuery)
|
|||||||
);
|
);
|
||||||
match handler.call_args(vec![jsuser]) {
|
match handler.call_args(vec![jsuser]) {
|
||||||
Ok(v) => {
|
Ok(v) => {
|
||||||
println!("OK branch, value: {v:?}");
|
println!("Ok branch, value: {v:?}");
|
||||||
if v.is_bool() {
|
if v.is_bool() {
|
||||||
v.to_bool().unwrap_or(true)
|
v.to_bool().unwrap_or(true)
|
||||||
} else if v.is_int() {
|
} else if v.is_int() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user