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 1C406804D1; Fri, 23 Sep 2022 18:00:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1663956056; bh=Mjs/Z+b7GJGYE6NxA8k4qAp7tnTFvlSZt15nKXRjaLU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=sJpa3BLPlMcg68AgYEB2wIUkN5to0eKpq7feHzyUIvx/vk4+35dbHc+Weyjx4Z5Dr zDpirgMYTJkS1WtHOaVmRq1tDrJTuoR//xtl/aAmCIOn3fjz5qKPTVHroLG9JHQXPe gzhgbFbVixakT0FC8kevybaQdb6G3olkDokY8W7u0/KNvEGcMOdCVQXjxpjdcsL/7P AGW7Bp3JMUA9UOI2crsG4kcpFlp7TBayKDZi2ET0MGqzqzQX5NBS4l/O7cOSYAivYP CJD6vj160C+8Af1efD96lKY8IBDwG0WtBeGRsOrXGt5+G65IlH9ESx6XRPY8QTeq1g NaP44Wcm9wY8w== Message-ID: Date: Sat, 24 Sep 2022 01:00:52 +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 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.55, Alviro Iskandar Setiawan wrote: > On Sat, Sep 24, 2022 at 12:52 AM Muhammad Rizki wrote: >> 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... > > what you said is right, so you get it :-) Yeah, I get it. I just didn't know that adding an empty space without giving a value will trigger a whitespace error. > > -- Viro