telegram bot at aiogram3
scans network by python-nmap, and store devices at SQLite
then gets table to bot
store telegram TOKEN at .env.example from BotFather
change admin ID with ur ID (u can get it from start command if don't know)
change period of scans at scan.py (optional)
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
cp .env.example .env
sudo apt install nmap python3-nmap -y
sudo python3 scan.py
may need new terminal session
# may need
sudo chown $USER:$USER net_devs.db
# start bot
python3 -m bot