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 3D0698149A; Fri, 4 Nov 2022 18:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1667585412; bh=Usn1F2Qh+uNoYSIzjne1FffW3RMxfH9pqncrY2rQxmg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Bsb2B7gSLNzPq/yAVERUyXsN/tKkM7/gd8KA6ugbahRnPUhdpmh0Uoi+clPWlL3jq 9FAI3NkcWauZFdRsB6Jaqz36/kVnDa4E3us1vJPP3f9J6dyNlvACXbbrmxsvb0XMJ0 zLQTyZU5v8Qj6W6klijVWZYAn8aZ6IKRz//1pz8cx+kCy8vCHy7nisgdP5Fi1PqAEh HRNMwVsEoi7KtTrbMNFCIsjVCaj28XFA3tr9pXT2hJoM6/9DDcdpXHBItzj5kk3FLS n+kLQGiRlVFgl7//Wx2s4JhPgis0jTcwqptqQTCPdg0lnCD8k+KsYa7iOxZD3/eM9O SP+Lxe2ugIF3Q== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , Alviro Iskandar Setiawan , GNU/Weeb Mailing List Subject: [PATCH v1 11/15] discord: Add variable LOG_CHANNEL_ID declaration Date: Sat, 5 Nov 2022 01:09:20 +0700 Message-Id: <20221104180931.3852-14-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: 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