Skip to content

Bot can't rename users when Automod blocks server tag in nickname #7711

@Spatulox

Description

@Spatulox

Description

Hello!
I believe this is a bug. My bot can rename everyone except those who have a guild tag blocked by the guild's AutoMod.

For example, the admin of a guild blocks the tag "OF" with AutoMod for understandable reasons. Therefore, for every user with this server tag, my bot is unable to rename them.

Since the renaming part have no links with the guild tag part, I report it to you

Steps to Reproduce

Having a tag/string block by the Automod
Having a bot who can rename users
Let the bot try to rename the user, while the user have the blocked word in his guild tag

Expected Behavior

The user should be renamed

Current Behavior

No rename

Screenshots/Videos

guild_tag[AUTO_MODERATION_USER_PROFILES_INVALID_GUILD_TAG]: Tag contains community flagged words
07-24 18:00:14 requestBody: { files: undefined, json: { nick: '[70+] KassBaricK' } },
07-24 18:00:14 rawError: {
07-24 18:00:14 message: 'Invalid Form Body',
07-24 18:00:14 code: 50035,
07-24 18:00:14 errors: { guild_tag: [Object] }
07-24 18:00:14 },
07-24 18:00:14 code: 50035,
07-24 18:00:14 status: 400,
07-24 18:00:14 method: 'PATCH',
07-24 18:00:14 url: 'https://discord.com/api/v10/guilds/1111160769132896377/members/1393251841545867495'
07-24 18:00:14 }
07-24 18:00:15 ❌ Impossible to rename "KassBaricK" to "[70+] KassBaricK" after 3 attemps

Client and System Information

I use PeebleHost.com to host the bot, it use linux, but IDK which version

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy