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=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from kanazawa.. (unknown [101.128.126.198]) by gnuweeb.org (Postfix) with ESMTPSA id 6A11381488; Fri, 4 Nov 2022 18:09:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1667585381; bh=BB0JiYZ2q2iMNTX9rJZli8Y+CZurMHGlkQw300+feTo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mYpuGBLiOx80Y77fmqnaM5M/q7D0vpn1ZJrN0ToFSx2yFVOA0LJh7JvHwRDxjGUGe uM/darzUlcWm7XTxeofGj+YaOdOGrz3SD7AAo35KVxWOwcCa7UF9rUi226yBsQKwLE 3mRFUVemKJtjQV5TAHIOmQwHQdB/sa4KgOeapobNbZkaTjBWaU+bSn7vlNK+RfNsyO wFwIoo/XyE4+3RuO+FpyAga/ZtBkUkVEIoVAN4jznAMsQUD0ge2FFzGR38hUmXOKIz g3x+jv07ZY33RMUYin/2eOVJxclcT+l2aXhDIB023tNgfEHogKzhWpO0QSYlvBKGqL MbMBALA8RW0+A== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , Alviro Iskandar Setiawan , GNU/Weeb Mailing List Subject: [PATCH v1 01/16] discord: Fix typo on _flood_exception() Date: Sat, 5 Nov 2022 01:09:08 +0700 Message-Id: <20221104180931.3852-2-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221104180931.3852-1-kiizuha@gnuweeb.org> References: <20221104180931.3852-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Fix minor typo. The function is for Discord bot, so fix it from "Telegram" to "Discord". Signed-off-by: Muhammad Rizki --- daemon/dscord/gnuweeb/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/dscord/gnuweeb/filters.py b/daemon/dscord/gnuweeb/filters.py index eb54a8a..b994904 100644 --- a/daemon/dscord/gnuweeb/filters.py +++ b/daemon/dscord/gnuweeb/filters.py @@ -49,5 +49,5 @@ def wait_on_limit(func): async def _flood_exceptions(e: "discord.errors.RateLimited"): wait = e.retry_after - print(f"[wait_on_limit]: Sleeping for {wait} seconds due to Telegram limit") + print(f"[wait_on_limit]: Sleeping for {wait} seconds due to Discord limit") await asyncio.sleep(wait) -- Muhammad Rizki