Allow fetching guild channels and webhooks with oauth access_token #4021
Unanswered
tsickert
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 1 reply
-
What kind of access token? OAuth token? Webhook token? Bot token? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goal
Allow applications to fetch channel and webhook information for a guild with just an
access_token
from the oauth access token response.Background
I'm developing an application that allows users to more easily leverage webhooks in their servers to send messages (think: a glorified form with avatar url, name, and content 😅 ).
The experience I'm imaginging is:
/users/@me/guilds
) (Can do today ✅ )/guilds/{guild.id}/channels
) (fetch for webhooks has also happened (/guilds/{guild.id}/webhooks
))webhook.incoming
flow)Request
Would it be possible to add a
guilds.webhooks
+guilds.channels
scopes that allow an application to fetch those lists without having a bot in the guild (or roll those permissions into theguilds
scope?).Thanks in advance for your consideration!
Beta Was this translation helpful? Give feedback.
All reactions