From 52c9a70594017129661d3c834d446d110465b494 Mon Sep 17 00:00:00 2001 From: txrris <46165217+txrris@users.noreply.github.com> Date: Sat, 23 Apr 2022 05:35:49 +0800 Subject: [PATCH 1/8] The page was missing on how to start the queue --- Extensions-–-JobQueue.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Extensions-–-JobQueue.md b/Extensions-–-JobQueue.md index 2b79754..b860cf3 100644 --- a/Extensions-–-JobQueue.md +++ b/Extensions-–-JobQueue.md @@ -85,6 +85,12 @@ u.dispatcher.add_handler(timer_handler) By placing the `chat_id` in the `Job` object, the callback function knows where it should send the message. +To start the Updater, use: + +```python +u.start() +``` + All good things must come to an end, so when you stop the Updater, the related job queue will be stopped as well: ```python From 5bc02238941d643d89b006370b2b39e13439f537 Mon Sep 17 00:00:00 2001 From: txrris <46165217+txrris@users.noreply.github.com> Date: Sat, 23 Apr 2022 05:36:47 +0800 Subject: [PATCH 2/8] Oops, meant the Job instead of Updater --- Extensions-–-JobQueue.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Extensions-–-JobQueue.md b/Extensions-–-JobQueue.md index b860cf3..9eb3585 100644 --- a/Extensions-–-JobQueue.md +++ b/Extensions-–-JobQueue.md @@ -85,10 +85,10 @@ u.dispatcher.add_handler(timer_handler) By placing the `chat_id` in the `Job` object, the callback function knows where it should send the message. -To start the Updater, use: +To start the Job, use: ```python -u.start() +j.start() ``` All good things must come to an end, so when you stop the Updater, the related job queue will be stopped as well: From ad821b96af11b0345a3fbb689a0aedf7d3749fbc Mon Sep 17 00:00:00 2001 From: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com> Date: Sat, 23 Apr 2022 07:43:46 +0200 Subject: [PATCH 3/8] =?UTF-8?q?Updated=20Extensions=20=E2=80=93=20JobQueue?= =?UTF-8?q?=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Extensions-–-JobQueue.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Extensions-–-JobQueue.md b/Extensions-–-JobQueue.md index 9eb3585..ac93d2d 100644 --- a/Extensions-–-JobQueue.md +++ b/Extensions-–-JobQueue.md @@ -85,11 +85,6 @@ u.dispatcher.add_handler(timer_handler) By placing the `chat_id` in the `Job` object, the callback function knows where it should send the message. -To start the Job, use: - -```python -j.start() -``` All good things must come to an end, so when you stop the Updater, the related job queue will be stopped as well: From 3d033724748a3d0946ae3dafcfe0dcceb00d73eb Mon Sep 17 00:00:00 2001 From: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com> Date: Sun, 24 Apr 2022 14:10:30 +0200 Subject: [PATCH 4/8] Created Transition guide to Version 20.0 (markdown) --- Transition-guide-to-Version-20.0.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 Transition-guide-to-Version-20.0.md diff --git a/Transition-guide-to-Version-20.0.md b/Transition-guide-to-Version-20.0.md new file mode 100644 index 0000000..27faaca --- /dev/null +++ b/Transition-guide-to-Version-20.0.md @@ -0,0 +1 @@ +TBA - Currently just a paceholder so that we can link to think page \ No newline at end of file From 5229e0499c43adfd9621b31b5966149f0031106c Mon Sep 17 00:00:00 2001 From: amirkhaki <95536619+amirkhaki@users.noreply.github.com> Date: Thu, 28 Apr 2022 13:03:05 +0430 Subject: [PATCH 5/8] update license year --- _Footer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_Footer.md b/_Footer.md index f5aae3b..4a6f36e 100644 --- a/_Footer.md +++ b/_Footer.md @@ -1 +1 @@ -Wiki of [`python-telegram-bot`](https://python-telegram-bot.org/) © Copyright 2015-2021 – Licensed by [Creative Commons](https://creativecommons.org/licenses/by/3.0/) \ No newline at end of file +Wiki of [`python-telegram-bot`](https://python-telegram-bot.org/) © Copyright 2015-2022 – Licensed by [Creative Commons](https://creativecommons.org/licenses/by/3.0/) \ No newline at end of file From 535d115d15c432cce31c917ba41bc1d8ba2a0dde Mon Sep 17 00:00:00 2001 From: Yusuf Mayet Date: Fri, 29 Apr 2022 15:11:14 +0200 Subject: [PATCH 6/8] added AWS github sample app --- Where-to-host-Telegram-Bots.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Where-to-host-Telegram-Bots.md b/Where-to-host-Telegram-Bots.md index 0909972..c8ba19f 100644 --- a/Where-to-host-Telegram-Bots.md +++ b/Where-to-host-Telegram-Bots.md @@ -2,6 +2,7 @@ Look at [[Hosting your bot|Hosting-your-bot]] if you've decided to get a server. ### Cloud * [Amazon Web Services](https://aws.amazon.com/) + * ** [Running a Python Telegram Bot on AWS Serverless](https://github.com/jojo786/Sample-Python-Telegram-Bot-AWS-Serverless) * [Microsoft Azure](https://azure.microsoft.com/) * [Google App Engine](https://cloud.google.com/appengine) * [[Notes about GAE - Google App Engine]] From f439bc718e946e6ae532f0f73d4ba8320c46b99c Mon Sep 17 00:00:00 2001 From: Yusuf Mayet Date: Fri, 29 Apr 2022 15:11:30 +0200 Subject: [PATCH 7/8] Updated Where to host Telegram Bots (markdown) --- Where-to-host-Telegram-Bots.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Where-to-host-Telegram-Bots.md b/Where-to-host-Telegram-Bots.md index c8ba19f..d048458 100644 --- a/Where-to-host-Telegram-Bots.md +++ b/Where-to-host-Telegram-Bots.md @@ -2,7 +2,7 @@ Look at [[Hosting your bot|Hosting-your-bot]] if you've decided to get a server. ### Cloud * [Amazon Web Services](https://aws.amazon.com/) - * ** [Running a Python Telegram Bot on AWS Serverless](https://github.com/jojo786/Sample-Python-Telegram-Bot-AWS-Serverless) + * [Running a Python Telegram Bot on AWS Serverless](https://github.com/jojo786/Sample-Python-Telegram-Bot-AWS-Serverless) * [Microsoft Azure](https://azure.microsoft.com/) * [Google App Engine](https://cloud.google.com/appengine) * [[Notes about GAE - Google App Engine]] From 398136ecfbc00e90690358208a89b16e9445a369 Mon Sep 17 00:00:00 2001 From: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com> Date: Tue, 3 May 2022 14:02:43 +0200 Subject: [PATCH 8/8] Updated Ask Right (markdown) --- Ask-Right.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Ask-Right.md b/Ask-Right.md index 08f9860..5a16785 100644 --- a/Ask-Right.md +++ b/Ask-Right.md @@ -38,7 +38,8 @@ When asking how to build a specific functionality with PTB, please try to descri ### A Good Example: -> When a new user enters a group, where my bot is an admin, I would like to verify that they are not spam bots by having them fill out some kind of captcha, preferably in the private chat with the bot. If the captcha is not filled out correctly within one day, they should be banned. How can I set up something like this? +> When a new user enters a group, where my bot is an admin, I would like to verify that they are not spam bots by having them fill out some kind of captcha, preferably in the private chat with the bot. If the captcha is not filled out correctly within one day, they should be banned. +I can already send a captcha message and also check if it was filled out correctly. What I can't figure out is how to catch users joining the group and how I can set up a delayed ban. ## Questions on PTB