Rename library functions from "main"
This commit is contained in:
parent
6e6d4b227d
commit
983456997b
5 changed files with 8 additions and 8 deletions
|
@ -43,7 +43,7 @@ async fn answer(
|
|||
}
|
||||
|
||||
#[tokio::main]
|
||||
pub async fn main(token: String) {
|
||||
pub async fn telegram(token: String) {
|
||||
teloxide::enable_logging!();
|
||||
log::info!("Starting labadoor Telegram bot...");
|
||||
let bot = Bot::new(token).auto_send();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue