- Prepare a database, any database
- Make sure the python version is above 3.10
- Clone to local
git clone https://github.com/bitjerry/Microsoft-365-bot.git
cd Microsoft-365-bot/src
- Add environment variables (required)
flyctl secrets set BOT_TOKEN="xxx" Robot token, get by @BotFather
flyctl secrets set ADMIN_ID="xxx" tg's user id (a string of pure numbers), usually the owner id
- Deployment procedure:
pip install -r requirements.txt
python3 setup.py