We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb6858a commit c5fdc44Copy full SHA for c5fdc44
example_bot/main.py
@@ -5,7 +5,8 @@
5
6
load_dotenv()
7
8
-bot = Bot(token=os.environ.get('TOKEN'))
+PROXY_URL = "http://proxy.server:3128"
9
+bot = Bot(token=os.environ.get('TOKEN'), proxy=PROXY_URL)
10
dp = Dispatcher(bot)
11
12
0 commit comments