Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into isChannelSynced

This commit is contained in:
ayntee
2020-11-13 18:11:14 +04:00
+4 -1
View File
@@ -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>;
} }