Allow bots to access explicit_content_filter endpoint

Commentaires

11 commentaires

  • JPBBerry

    It seems like this is already possible!
    Make a PATCH to /guilds/guildID
    Body: { “explicit_content_filter”: int}, replacing int with the level of filter obviously.

    0
    Actions pour les commentaires Permalien
  • JPBBerry

    (Note) Int to levels:
    0: Don’t scan any messages.
    1: Scan messages from members without a role.
    2: Scan messages sent by all members.

    0
    Actions pour les commentaires Permalien
  • Makusu2

    @JPBBerry (https://support.discordapp.com/hc/en-us/community/posts/360043320632/comments/360005227491)
    That endpoint is for users only; bots cannot use that. That's the issue x3

    1
    Actions pour les commentaires Permalien
  • Arkwolf

    Please can we have a way to disable the explicit_content_filter.

    1
    Actions pour les commentaires Permalien
  • JPBBerry

    @Makusu2 well that’s simply not true, I’ve just tested it from a bot account and it works fine

    -1
    Actions pour les commentaires Permalien
  • Makusu2

    @JPBBerry Sorry, I glanced over when you mentioned /guilds/guildID; shouldn't it be /users/@me/settings?
    When I try, I get a 403 (Bots cannot use this endpoint).
    What guildID would you be referring to?

    0
    Actions pour les commentaires Permalien
  • Arkwolf

    @JPBBerry Guilds are servers, this would allow the users and bots to be able to post on the server that you have allowed. This does not change DM's directly to the bot.

    1
    Actions pour les commentaires Permalien
  • Makusu2

    Yeah, that's my bad for not noticing the path you'd referenced, sorry ^^;

    0
    Actions pour les commentaires Permalien
  • JPBBerry

    Oh I see sorry for misunderstanding. Bots will likely never have access to this ever at all, because bots are not user accounts and not meant to be used as such, there should be no reason why you want an explicit content filter, no one SHOULD be using a bot account as a user so no one would be at risk of seeing said content.

    0
    Actions pour les commentaires Permalien
  • Makusu2

    @JPBBerry It'd be nice if that were true, but it's actually the opposite; bots start on level 2, so they're stuck there.

    0
    Actions pour les commentaires Permalien
  • Arkwolf

    ^ This is true, I have a bot that takes images and puts them into a NSFW chat anonymously on a server (obviously I have a log file). 

    But because of this Clyde blocks half the content making it annoying but not 100% unusable.

    0
    Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.