Allow bots to edit their integration role's display data.

Kommentare

5 Kommentare

  • ||Jojo||
    Sounds bad for public bots, if every bot can set their own color and mix up the colors from other discord servers
    1
  • Eti

    "Sounds bad for public bots, if every bot can set their own color and mix up the colors from other discord servers"

    This is certainly a good point. I had not factored in this idea.

     
    0
  • Eti

    I don't know what the policy on bumps of this nature is, but I'm assuming it's okay so long as I have new information to bring forth so that it contributes to discussion and it's not just a crude attempt at exposure.

    Given the nature of integrated roles, I see no reasons to not append this in terms of functionality alone.

    One potential addition that I believe would also work is appending an "Edit Self Role" permission of sorts rather than just implicitly allowing integrations to manage their own roles' display info. This permission shouldn't remove the ability for administrators / role managers to edit its color, and instead should simply control whether or not the role's color can be altered by the integration holder. It would be a permission shown in OAuth2 just like any other. Additionally, it may be fit to allow the server owner or people with adequate permissions to toggle this so that owners who want their own color enforcement can ensure that it shows up like they want it to.

    After sitting on this issue for about a year since my OP, I still would really like to see it and I can't see any immediate caveats to adding it in the manner I just proposed. If anyone has anything that might make this a bad idea (aside from things that aren't avoidable e.g. API changes and how certain bot frameworks would react to the changes), do tell.

    1
  • Ednaordinary

    The original role should be transparent, so have the bot:

    > make a role one below its

    > set the role color to what you want it to be

    That way the role is still the correct color, but server mods/admins can edit the role above or that role to make the bot a different color when desired with no change to how discord works.

    1
  • Eti

    This works, but it has a number of complications.

    1. How does that role get created? Does the bot need to do it (which requires the manage roles permission, what if the server owner doesn't want to grant that?)
    2. Is it an integrated role? Why take up two role slots and require management of two roles just for color? Why not just edit the original integrated role?
    3. If it's not an integrated role, what happens if it's deleted?

    I still think the original idea of just allowing bots to edit their own integrated role's color is acceptable. It could be locked behind a permission to address the problem of bots randomly changing their color. It should show up when authenticating the bot (adding it to your server) e.g. an "Allow management of my own integrated role" checkbox.

    An alternative to this would be an option for the bot application itself, such as "Default Role Color". When a bot is added to the server, the integrated role comes with the given color out of the box, similarly to how the Nitro Booster integrated role always starts out with #f47fff for its color once you get your first boost.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.