#!/bin/sh #https://github.com/aiogram/aiogram/pull/795 PYTHON_LIB_PATH=$(python3 -c 'import sys; print(sys.path[4])') patch --directory=$PYTHON_LIB_PATH/aiogram/utils/ -i $(pwd)/utils/patch/aiogram-loop.patch