Can the Discord API be used to send messages between two discord users?

Comments

2 comments

  • donovan_dmc

    not with just oauth scopes (at least not easily)

    you can't send messages as people, but you can forward them between them

    a gateway connection would be best for this, though you can use oauth for knowing who the users are (getting their id)

    as long as neither of them have you blocked, and both have their dms open, you can forward messages back between them, with the normal dm create routes, and listening for message create (on shard 0 only) with the channel type of dm

    1
  • JDJG

    probably safe to make a connection listener, then sending them through the bot.

    0

Please sign in to leave a comment.