[AUTO] Error: [Welcome] Erreur lors de l'envoi du DM à txtx__:... #56

Closed
opened 2026-03-28 20:00:11 +00:00 by Gameur.py · 2 comments
Gameur.py commented 2026-03-28 20:00:11 +00:00 (Migrated from gitlab.com)

Type: ERROR
Message: [Welcome] Erreur lors de l'envoi du DM à txtx__: 400 Bad Request (error code: 40003): You are opening direct messages too fast.
Source: KubyBot.on_member_join:150

Traceback:

Traceback (most recent call last):
  File "/home/discord/Bot/Kuby_V2/commandes/welcome.py", line 144, in on_member_join
    await member.send(formatted_message)
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/abc.py", line 1656, in send
    channel = await self._get_channel()
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/member.py", line 419, in _get_channel
    ch = await self.create_dm()
         ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/member.py", line 196, in general
    return await getattr(self._user, x)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/user.py", line 604, in create_dm
    data: DMChannelPayload = await state.http.start_private_message(self.id)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/http.py", line 778, in request
    raise HTTPException(response, data)
discord.errors.HTTPException: 400 Bad Request (error code: 40003): You are opening direct messages too fast.

**Type:** ERROR **Message:** ❌ [Welcome] Erreur lors de l'envoi du DM à txtx__: 400 Bad Request (error code: 40003): You are opening direct messages too fast. **Source:** KubyBot.on_member_join:150 **Traceback:** ```python Traceback (most recent call last): File "/home/discord/Bot/Kuby_V2/commandes/welcome.py", line 144, in on_member_join await member.send(formatted_message) File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/abc.py", line 1656, in send channel = await self._get_channel() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/member.py", line 419, in _get_channel ch = await self.create_dm() ^^^^^^^^^^^^^^^^^^^^^^ File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/member.py", line 196, in general return await getattr(self._user, x)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/user.py", line 604, in create_dm data: DMChannelPayload = await state.http.start_private_message(self.id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/http.py", line 778, in request raise HTTPException(response, data) discord.errors.HTTPException: 400 Bad Request (error code: 40003): You are opening direct messages too fast. ```
Gameur.py commented 2026-03-28 20:00:11 +00:00 (Migrated from gitlab.com)

assigned to @Gameur.py

assigned to @Gameur.py
Gameur.py commented 2026-03-28 21:08:25 +00:00 (Migrated from gitlab.com)

set status to Done

set status to **Done**
Gameur.py (Migrated from gitlab.com) closed this issue 2026-03-28 21:08:25 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Gameur/Kuby#56
No description provided.