From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [10.7.7.5] (unknown [182.253.183.184]) by gnuweeb.org (Postfix) with ESMTPSA id 16DC37E426; Tue, 3 Jan 2023 22:28:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1672784938; bh=DdeXDMNhMzhhk/jEa/5qAzZ859lFxzF/Ec+9ouA2oUQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=iIyDzj8szHzSh8mSc7afmbQfFXiiK+0ZVKAf6dTEPyAMdRH2w8RZHQgySCQn1hRcz s0lNNYl+eSk+d+7UDnG2SrJNYYQHNahbIj5Gdjm+h2+d1zxbQ97dvRYZuVZVky8rZb 6HEv7I+8KbqXwAzxvFVy5fGLZpUCo/+J8pyXqLbS04X7LMqluzC9ff/A6Q/JK21eyf LtW0dB/wiEJNuOu1dbIdIv9Un98YHgJvIpWmxwSeYVEeoPWzoNwsO6soQglDQnurSU JBWGhWxQ0UZxwIvKpxgF/8sw+kof8j+EROeduunfcEmsZ80rv1xN09aOsg55cBIrIl Te7/mhlzJORkw== Message-ID: <797043be-3446-ebe6-fac7-cca2df63a21c@gnuweeb.org> Date: Wed, 4 Jan 2023 05:28:54 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v1 03/13] refactor(telegram)!: Ensure the Telegram bot has been started Content-Language: en-US To: Alviro Iskandar Setiawan Cc: Muhammad Rizki , GNU/Weeb Mailing List References: <20230103063641.1680-1-kiizuha@gnuweeb.org> <20230103063641.1680-4-kiizuha@gnuweeb.org> <5fa120d7-32ab-b560-0c8f-0da64546cf0b@gnuweeb.org> From: Ammar Faizi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 1/4/23 5:27 AM, Alviro Iskandar Setiawan wrote: > because the subsequent code calls client.stop(), what if you don't > call client.stop()? but > > bot.run() # internally calls sched.start() Right, that's what I'm talking about. -- Ammar Faizi