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=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [192.168.230.80] (unknown [182.2.70.226]) by gnuweeb.org (Postfix) with ESMTPSA id 9D7D38060C; Sat, 3 Sep 2022 01:00:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1662166809; bh=JaXh9QE0pNn4xqolH33rH7vuEJPGXcNi3N6zpdlPUdk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=RHgH9eUHJx6CUmSpPGrUPLmTIcOFMR26+nRzLF8xRyvMyQlCP1biXzYzfc5+wB9xG TmBzrCIfF/Sg1ky7eE5UQ08qqPkKqAN/A8vZBok9txOlysdCy8x6Qe/jVDDDc5zL+o BTYkrK/1D0FayRZimsOYqkutrYYvoAzPbBdVTBotIxGE0PtBH2UFn1iGAa+aL8JWlx o3t9t+CS4+4KrvrOeEBnQdT8pzldusg4SBGEoXN5+5coAF4JMJw8+YSbUbUDNVTzE2 K3Ojlv6lFKdKo3v0aIVxYpP0gDSqXAGDCvTqp33lTSi5P5QGXkwS8eKIlXtiM32QGX CUZgCHrR9Filg== Message-ID: <4fea8547-322b-d2a2-3cae-7d2e6fe3b8a6@gnuweeb.org> Date: Sat, 3 Sep 2022 08:00:05 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 0/3] New Discord bot and full refactor scripts Content-Language: en-US To: Muhammad Rizki Cc: GNU/Weeb Mailing List , Alviro Iskandar Setiawan References: <20220827030236.1094-1-kiizuha@gnuweeb.org> <7a414bd1-68f1-86a4-e647-7ee071a4300d@gnuweeb.org> From: Ammar Faizi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 9/3/22 7:56 AM, Muhammad Rizki wrote: >> On 03/09/2022 07.42, Ammar Faizi wrote: >>> On 8/27/22 11:00 PM, Muhammad Rizki wrote: >>>> - Set the `config.py` for discord or telegram >>> >>> daemon/dscord/config.py file is: >>> ``` >>> # SPDX-License-Identifier: GPL-2.0-only >>> # >>> # Copyright (C) 2022 Muhammad Rizki >>> # >>> >>> # Paste the admin role ID below >>> # to filter only admin who can >>> # access add/delete lore commands. >>> ADMIN_ROLE_ID = 0 >>> ``` >>> >>> Where should I put the bot credentials? >>> >> >> The bot credentials is within the env file, the env file is located in >> the root daemon directory e.g discord.env.example or telegram.env.example Ah right, that was me being an idiot. Continuing testing this... -- Ammar Faizi