aboutsummaryrefslogtreecommitdiff
path: root/src/bot.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2022-11-30 02:52:57 -0500
committerNathan Perry <np@nathanperry.dev>2022-11-30 02:52:57 -0500
commit329d55e3649f8b837324971da3188038c796d7c4 (patch)
treed48a992f646f40e1e42ee30ef452335f44832f9e /src/bot.rs
parentc91d488dc92cde8dab024d1e1b98fd471a00b9f5 (diff)
fs: log results of loading user_id_mapping and restrict.json
Diffstat (limited to 'src/bot.rs')
-rw-r--r--src/bot.rs8
1 files changed, 6 insertions, 2 deletions
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::<FnvHashSet<_>>()
+ .collect::<FnvHashSet<_>>();
+
+ info!("restricted ids: {:?}", result);
+
+ result
};
}