mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into isChannelSynced
This commit is contained in:
@@ -617,5 +617,8 @@ export function getUser(userID: string) {
|
|||||||
* So it does not cache the guild, you must do it manually.
|
* So it does not cache the guild, you must do it manually.
|
||||||
* */
|
* */
|
||||||
export function getGuild(guildID: string, counts = true) {
|
export function getGuild(guildID: string, counts = true) {
|
||||||
return RequestManager.get(endpoints.GUILD(guildID), { with_counts: counts }) as Promise<UpdateGuildPayload>
|
return RequestManager.get(
|
||||||
|
endpoints.GUILD(guildID),
|
||||||
|
{ with_counts: counts },
|
||||||
|
) as Promise<UpdateGuildPayload>;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user