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.126.198]) by gnuweeb.org (Postfix) with ESMTPSA id B30DF814D9; Wed, 9 Nov 2022 02:50:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1667962250; bh=Usn1F2Qh+uNoYSIzjne1FffW3RMxfH9pqncrY2rQxmg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rOdL5aGUKPNcZZ6dYkBWZ+OeXNvhFvu22FqUrKCp3OmssRhQ8o0KsO9XRrrmk87Zb 9/iHO8EoaVDRn81XNBrN8X5+zZ43fbIW2pdNeoiDQLb7VCgOOKEZB1d1ewnqYXw/Zk LKghcV6QTZMEGB8lynBuPi5iQ3rdXjkoMSjO57AHohbSMbUdZobCs+iwaRvpwXJe89 nPeJ6XOCO0AJgtbxLd+C8jNYEX/b2ADykVwvrjtLZeds6sn3tlHX0wPe/Xk7P8rBoq 3TdjWqOsEfnB9p2bXHGe/xdBPIFAH8TsYqzHzIrVZe9m8LoHMuQd4QybESdwMVkbHV 8bgyx1SoZGjjw== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , Alviro Iskandar Setiawan , GNU/Weeb Mailing List Subject: [PATCH v2 13/17] discord: Add variable LOG_CHANNEL_ID declaration Date: Wed, 9 Nov 2022 09:49:58 +0700 Message-Id: <20221109025002.258-14-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20221109025002.258-1-kiizuha@gnuweeb.org> References: <20221109025002.258-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Add LOG_CHANNEL_ID into the config.py.example to use it in the future use to send the log file to its Discord channel logs using the LOG_CHANNEL_ID. Signed-off-by: Muhammad Rizki --- daemon/dscord/config.py.example | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon/dscord/config.py.example b/daemon/dscord/config.py.example index 6dd4313..6db826c 100644 --- a/daemon/dscord/config.py.example +++ b/daemon/dscord/config.py.example @@ -11,3 +11,7 @@ ADMIN_ROLE_ID = # The activity name like "Playing Genshin Impact" # you set the value as "Genshin Impact" ACTIVITY_NAME = + +# Insert Discord channel ID to send the log file +# type (int) +LOG_CHANNEL_ID = -- Muhammad Rizki