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.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by gnuweeb.org (Postfix) with ESMTPS id CB8C0804D1 for ; Fri, 23 Sep 2022 17:55:35 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=DVw8K2Yq; dkim-atps=neutral Received: by mail-lj1-f170.google.com with SMTP id q17so864260lji.11 for ; Fri, 23 Sep 2022 10:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=XG4qsJI4K9jufinm0s0s5tlvyoLUzctFkJkLGrCMR0A=; b=DVw8K2Yqlnl82nq0jTE9FnVnIRdRp/lKZBQ4XZWllxmbdlHLCVvFRpdQ67F4bKnTGj RxMC9CxCEgybF/kWQ970ye3RXIg55F+InNhl6vRf7xRXHNr+d2G1mBd3G/eev9wheuUe 3EIPN30gBYTJ7MOc78/dnMrot23FbMnBI3Wd1Pv12EiLQIYtwNvr+bUQsowOOM8//zCY EMgEa42Z1+EFizgXGQOvyGHrfgKIXgOv/BqrmHZd2ZAZ3yOkBgA3nd0u3gx+eCn7wyoV Abc3onZYe1nzS/Fr3pXGSfPu4W93FS+2ri5rg89xbtRjCZTKGRlCQyAXN30IZBQShts1 6Q4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=XG4qsJI4K9jufinm0s0s5tlvyoLUzctFkJkLGrCMR0A=; b=jldNy0DJJyTmF+PGLu+zNsQYsaLsfaTtF++CjSyeMsdRtOp2TnjTFIhen1enY5CExv tojLz/uNxS5bMsO8HprEdWizR0O9jyOL8TSOm8cwRHM7Z83LWwhFCkqM+YMEe0jIf1yi ct8qbCrh8SDECxNTbeosfZwRnErEP4hEKTQr+t1pUqVqzJ1bLG9vK6X2BkWIjYFD4jhy EYhpZMlq7YVguRjuOphrZcN7ICP/4I17B020zpQj0M/DnIMk6S1EucddPOdvvLxj3Hqb ABGs9WDWs4XRWJm4Wpz3Z8lIcWaHIl/dKxw8QVYx6/XxYURLaEkW8LYhKY4HzGDBcPoc fQnw== X-Gm-Message-State: ACrzQf1vxZkEvTlnQPto1Ee/FZeHc40E3pP4iRJxbBFyDNCFgJNTaFYl 2NVKkZV6JlM5/kMkViuijf+Ae4SJIotTVcCTsgJVe8Zl3QXK0A== X-Google-Smtp-Source: AMsMyM73ODXnxr26suCYlIJI6rFs0kiVUaV1WzFd6RwRhT3LBw5lvrRCrFBdNyt9bZrz3htT03uLQOmheMOCNeJ6oCo= X-Received: by 2002:a2e:b74b:0:b0:26c:5cf3:cc87 with SMTP id k11-20020a2eb74b000000b0026c5cf3cc87mr3466191ljo.75.1663955733960; Fri, 23 Sep 2022 10:55:33 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: From: Alviro Iskandar Setiawan Date: Sat, 24 Sep 2022 00:55:22 +0700 Message-ID: Subject: Re: [RFC PATCH v4 08/17] discord: Initial work Discord bot To: Muhammad Rizki Cc: Ammar Faizi , "GNU/Weeb Mailing List" Content-Type: text/plain; charset="UTF-8" List-Id: 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 :-) -- Viro