forked from yuntongzhang/test
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Summary
Discord has an API for fetching a preview of a discoverable guild, which is currently not used by this library.
What is the feature request for?
The core library
The Problem
Discord has an API endpoint for getting a preview of a discoverable guild. There is a type for the response in the library, but no way to actually perform the request at present. This means that bots can't see preview information of discoverable guilds.
The Ideal Solution
I would like a new method on Client called fetch_guild_preview(id: int) which returns a GuildPreview that exposes all the fields of the response.
The Current Solution
The request must be made manually and the response parsed by hand.
Additional Context
No response
Metadata
Metadata
Assignees
Labels
No labels