diff --git a/src/bot/mod.rs b/src/bot/mod.rs index 1820d9b2..5e26de9e 100644 --- a/src/bot/mod.rs +++ b/src/bot/mod.rs @@ -33,11 +33,13 @@ impl Bot { } impl Bot { - pub const fn token(&self) -> &str { + // TODO: const fn + pub fn token(&self) -> &str { &self.token } - pub const fn client(&self) -> &Client { + // TODO: const fn + pub fn client(&self) -> &Client { &self.client } }