sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#!/bin/sh | |
if command -v sudo; then | |
sudo apt install -y zsh curl | |
echo "Done!" | |
elif [ $(id -u) -eq 0 ]; then | |
apt install -y zsh curl | |
echo "Done!" | |
else | |
echo "You need access to install zsh" |
from aiogram import Bot, Dispatcher, types | |
from aiohttp import web | |
TOKENS = ['bot123:123...'] # List of bot tokens | |
SERVER_HOST, SERVER_PORT = '0.0.0.0', 1234 # Host and port of web server | |
WEBHOOK_SERVER_HOST, WEBHOOK_SERVER_PORT = '0.0.0.0', 1234 # Host and port of webhook. May differ when using a reverse proxy | |
bot = Bot(token='', validate_token=False) | |
dp = Dispatcher(bot=bot) |