From: Muhammad Rizki <[email protected]>
To: Alviro Iskandar Setiawan <[email protected]>
Cc: Ammar Faizi <[email protected]>,
GNU/Weeb Mailing List <[email protected]>,
Alviro Iskandar Setiawan <[email protected]>
Subject: Re: [RFC PATCH v4 08/17] discord: Initial work Discord bot
Date: Sat, 24 Sep 2022 00:52:44 +0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAOG64qPx9S7tNwo74aOE+kifRYFez7DMXmgsrZ2Lbeys4-W5dw@mail.gmail.com>
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...
next prev parent reply other threads:[~2022-09-23 17:52 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-20 13:47 [RFC PATCH v4 00/17] Refactor Telegram & initial work Discord Muhammad Rizki
2022-09-20 13:47 ` [RFC PATCH v4 01/17] telegram: Move the Telegram bot source code Muhammad Rizki
2022-09-23 17:26 ` Alviro Iskandar Setiawan
2022-09-20 13:47 ` [RFC PATCH v4 02/17] telegram: Refactor Telegram bot database method Muhammad Rizki
2022-09-23 17:12 ` Ammar Faizi
2022-09-20 13:47 ` [RFC PATCH v4 03/17] telegram: Rename some functions in scraper/bot.py Muhammad Rizki
2022-09-20 13:47 ` [RFC PATCH v4 04/17] Add ignore file for .env Muhammad Rizki
2022-09-23 17:51 ` Alviro Iskandar Setiawan
2022-09-20 13:48 ` [RFC PATCH v4 05/17] telegram: Refactor the Telegram bot Muhammad Rizki
2022-09-20 13:48 ` [RFC PATCH v4 06/17] telegram: Renames in telegram mailer directory Muhammad Rizki
2022-09-20 13:48 ` [RFC PATCH v4 07/17] Move scraper and utility file Muhammad Rizki
2022-09-20 13:48 ` [RFC PATCH v4 08/17] discord: Initial work Discord bot Muhammad Rizki
2022-09-23 17:13 ` Ammar Faizi
2022-09-23 17:21 ` Muhammad Rizki
2022-09-23 17:37 ` Alviro Iskandar Setiawan
2022-09-23 17:40 ` Alviro Iskandar Setiawan
2022-09-23 17:42 ` Ammar Faizi
2022-09-23 17:52 ` Muhammad Rizki [this message]
2022-09-23 17:55 ` Alviro Iskandar Setiawan
2022-09-23 18:00 ` Muhammad Rizki
2022-09-20 13:48 ` [RFC PATCH v4 09/17] discord: Add success run notice on_ready event Muhammad Rizki
2022-09-20 13:48 ` [RFC PATCH v4 10/17] discord: Add error handler on events Muhammad Rizki
2022-09-20 13:48 ` [RFC PATCH v4 11/17] Move db.sql to combine database with Discord and Telegram Muhammad Rizki
2022-09-20 13:48 ` [RFC PATCH v4 12/17] discord: Add database tables for Discord bot Muhammad Rizki
2022-09-23 17:50 ` Alviro Iskandar Setiawan
2022-09-20 13:48 ` [RFC PATCH v4 13/17] discord: Add initial Discord bot database instance Muhammad Rizki
2022-09-20 13:48 ` [RFC PATCH v4 14/17] discord: Add save_atom() in database insertion Muhammad Rizki
2022-09-20 13:48 ` [RFC PATCH v4 15/17] discord: Add save_broadcast() " Muhammad Rizki
2022-09-20 13:48 ` [RFC PATCH v4 16/17] discord: Add save_discord_mail() " Muhammad Rizki
2022-09-23 17:14 ` Ammar Faizi
2022-09-20 13:48 ` [RFC PATCH v4 17/17] discord: Add save_email() " Muhammad Rizki
2022-09-20 15:57 ` [RFC PATCH v4 00/17] Refactor Telegram & initial work Discord Ammar Faizi
2022-09-23 16:42 ` Ammar Faizi
2022-09-23 16:57 ` Muhammad Rizki
2022-09-23 17:00 ` Ammar Faizi
2022-09-23 17:02 ` Muhammad Rizki
2022-09-23 17:04 ` Ammar Faizi
2022-09-23 17:06 ` Ammar Faizi
2022-09-23 17:17 ` Ammar Faizi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox