Allow bots to access explicit_content_filter endpoint

댓글

댓글 11개

  • 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.

  • 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.

  • 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

  • Arkwolf

    Please can we have a way to disable the explicit_content_filter.

  • JPBBerry

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

  • 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?

  • 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.

  • Makusu2

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

  • 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.

  • 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.

  • 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.

댓글을 남기려면 로그인하세요.