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.1.3] (unknown [101.128.125.149]) by gnuweeb.org (Postfix) with ESMTPSA id 71DE1804D1; Fri, 23 Sep 2022 17:52:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1663955568; bh=iX1J6W6NK5oLIy+kwVRGZPt0Y2UTJRIsUFSkigk/whI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=eQTjdGfyrcn89g/4OBIIGykKVpiPoj4cPIXHqWbbkiR36J27wBermwZUbeCIREALx mH4ak9LSeGea9XyS3H/iqV4hqZ/imz4VaRV4sl1Wkoh29X859qbofVQoJn8Ju7iNGc lzuQUBHAuxhu+Dc1X3xai9ZzoKtEQZlnNOZ5e4iFDNChm6ML2Yy+7c+ItRQgU977aF ex3m/yuG2ggcST8R2xtFAAkNiBemyFSoor/G5hP88O6+3utl6dobRXOkBYwRVGgPC6 E8q74uiyuuo3N3ReDJdX6zYYdeUiTNCMLmisUJJzHAHvq3LPjP+sjNf/OsYqTPX4xX DB4JN/nyUM1Mw== Message-ID: Date: Sat, 24 Sep 2022 00:52:44 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [RFC PATCH v4 08/17] discord: Initial work Discord bot Content-Language: en-US To: Alviro Iskandar Setiawan Cc: Ammar Faizi , GNU/Weeb Mailing List , Alviro Iskandar Setiawan References: <20220920134812.331-1-kiizuha@gnuweeb.org> <20220920134812.331-9-kiizuha@gnuweeb.org> <94dd7689-b5f7-0662-bbf1-53fad341a523@gnuweeb.org> <07306298-19b7-42a9-fb82-2509b8721dc0@gnuweeb.org> From: Muhammad Rizki In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 24/09/2022 00.40, Alviro Iskandar Setiawan wrote: > On Sat, Sep 24, 2022 at 12:37 AM Alviro Iskandar Setiawan wrote: >> On Sat, Sep 24, 2022 at 12:21 AM Muhammad Rizki wrote: >>> On 24/09/2022 00.13, Ammar Faizi wrote: >>>> On 9/20/22 8:48 PM, Muhammad Rizki wrote: >>>>> +# Paste the admin role ID below >>>>> +# to filter only admin who can >>>>> +# access add/delete lore commands. >>>>> +ADMIN_ROLE_ID = >>>>> + >>>>> +# The activity name like "Playing Genshin Impact" >>>>> +# you set the value as "Genshin Impact" >>>>> +ACTIVITY_NAME = >>>> >>>> Applying: discord: Initial work Discord bot >>>> .git/rebase-apply/patch:83: trailing whitespace. >>>> ADMIN_ROLE_ID = >>>> .git/rebase-apply/patch:87: trailing whitespace. >>>> ACTIVITY_NAME = >>>> warning: 2 lines add whitespace errors. >>>> >>> >>> Oh, I didn't know adding a space after the equal will trigger the >>> whitespace errors. >> >> bruh, it is not the space-after-the-equal-sign that triggers the >> error, it's because the space is a trailing whitespace. > > space after the equal sign is fine if it's not a trailing whitespace, e.g: > AAAA = "zzzzzz" Yeah, I know. > > -- Viro This is my mistake, add an empty space after the equal sign without giving a default value like "123". ADMIN_ROLE_ID = ^^ I think this empty space is triggering that errors. After I trim the whitespace via the VSCode feature, then I realized it was because I'm adding an empty space after the equal sign without giving a default value. The trimmed whitespace is trimming an empty space after the equal sign. Or I just don't get it here, hmm...