Skip to content

Commit 5b3ba13

Browse files
committed
Made code clean
1 parent b842749 commit 5b3ba13

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/main.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ mod fetcher;
77
mod bot;
88
mod data;
99
mod parser;
10-
mod pair;
1110

1211
#[tokio::main]
1312
async fn main() {
@@ -19,11 +18,11 @@ async fn main() {
1918

2019
let slice = &bytes[..size];
2120

22-
let string = std::str::from_utf8(slice).unwrap();
21+
let token = std::str::from_utf8(slice).unwrap();
2322
println!("{}", ".env successfully fetched!".bright_blue());
2423

2524
println!("{}", "Starting bot...".bright_blue());
26-
let teloxide_bot = Bot::new(string);
25+
let teloxide_bot = Bot::new(token);
2726

2827
// start bot
2928
println!("{}", "Bot started successfully!".bright_blue());

0 commit comments

Comments
 (0)