From 329d55e3649f8b837324971da3188038c796d7c4 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Wed, 30 Nov 2022 02:52:57 -0500 Subject: fs: log results of loading user_id_mapping and restrict.json --- src/bot.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/bot.rs') diff --git a/src/bot.rs b/src/bot.rs index f74d581..abc0fd0 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -108,10 +108,14 @@ lazy_static! { warn!("opening restrict file: {}", e); } - restrict_ids + let result = restrict_ids .unwrap_or_default() .into_iter() - .collect::>() + .collect::>(); + + info!("restricted ids: {:?}", result); + + result }; } -- cgit v1.3.1