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 localhost.localdomain (unknown [101.128.125.209]) by gnuweeb.org (Postfix) with ESMTPSA id AB505819D2; Wed, 21 Dec 2022 01:34:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1671586453; bh=6vOuwdxgZkkLTD2NgBUcfgVx315U7IEgPggrfKyUtp4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Pe4Qemsvtd5Y/7Fk9HoDmUisSlzJ+rOUqy69CKSZTEPFQ+Arj75n9/97AzUraw1Is hKD7qOGGWOPlK/7btiJWuURkubP2ixDnHQIO9LYdzTNXpUWSGN/yEyPs0c8Bc0cImh eNJlhRz4muKuU0pXwFwvzatFVV0lWIwhbW5+eR3aiI2P9E8i8L8lz1NDKhNRArwzQX vIL6iSCorK6/wpxnCpgIqk1f+c3siKDRcCl9EqQMhRqNOJf4GOZ6nJiIcs+O2KelRg S8TlIofIKVvmADk2K2dc8Qb/8jR25rtO90YRazaVMx+GPZzCteSPjbj9PCryiPZu6y tRrj4WOYak38w== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , Alviro Iskandar Setiawan , GNU/Weeb Mailing List Subject: [PATCH v4 01/17] discord: Fix typo on _flood_exception() Date: Wed, 21 Dec 2022 08:33:31 +0700 Message-Id: <20221221013347.1704-2-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20221221013347.1704-1-kiizuha@gnuweeb.org> References: <20221221013347.1704-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Fix minor typo. This function is for the Discord bot, so fix the error message from "Telegram" to "Discord". v2: - Change commit description to make it clearer. 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