We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b842749 commit 5b3ba13Copy full SHA for 5b3ba13
1 file changed
src/main.rs
@@ -7,7 +7,6 @@ mod fetcher;
7
mod bot;
8
mod data;
9
mod parser;
10
-mod pair;
11
12
#[tokio::main]
13
async fn main() {
@@ -19,11 +18,11 @@ async fn main() {
19
18
20
let slice = &bytes[..size];
21
22
- let string = std::str::from_utf8(slice).unwrap();
+ let token = std::str::from_utf8(slice).unwrap();
23
println!("{}", ".env successfully fetched!".bright_blue());
24
25
println!("{}", "Starting bot...".bright_blue());
26
- let teloxide_bot = Bot::new(string);
+ let teloxide_bot = Bot::new(token);
27
28
// start bot
29
println!("{}", "Bot started successfully!".bright_blue());
0 commit comments