From c1c916678e0afec308d905c97d9ccd241c8a1edf Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 15 Nov 2023 21:58:01 -0500 Subject: feat: add version command --- src/api/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/api') diff --git a/src/api/mod.rs b/src/api/mod.rs index 6224ab1..a1e0e97 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -3,9 +3,11 @@ use once_cell::sync::Lazy; pub mod guzzle; pub mod shiggy; +pub const USER_AGENT: &str = "teawieBot/0.1.0"; + pub static REQWEST_CLIENT: Lazy = Lazy::new(|| { reqwest::Client::builder() - .user_agent("teawieBot/0.1.0") + .user_agent(USER_AGENT) .build() .unwrap_or_default() }); -- cgit v1.2.3