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 04999819EB; Wed, 21 Dec 2022 01:34:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1671586479; bh=Usn1F2Qh+uNoYSIzjne1FffW3RMxfH9pqncrY2rQxmg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BQCqURNjTx5wOy5Mel/rwdXFFFlIvZdTeP55ujUjJah8EFguw2eyUn0j1n1RnN9CM 00TJ+Mgt1l+DtguZISLu1ySpUsuQ72s3xGgkJhSQuq8xcc0DrwgiaEE/9IuG3dcmTK K3QDpr2/9w2wukN6xCZXxFkzPMhGuqXRJtoKfCC+WzYTdc/K2KgjjgA29XpXdl+FGa fn+x4TGiJkbmfTHpMaK9neY3DDgTgdvwgxa/DOq25MnN8tCR3apULfmU50ej5n2VtO x5J1VHgUnPlSdM5W4s5Je2P++aZnFuF9IIILjxKCoy92+IVw+5uFIV/mAbRw+Tzoyw EXUXKSiPfLZnA== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , Alviro Iskandar Setiawan , GNU/Weeb Mailing List Subject: [PATCH v4 13/17] discord: Add variable LOG_CHANNEL_ID declaration Date: Wed, 21 Dec 2022 08:33:43 +0700 Message-Id: <20221221013347.1704-14-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: 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