1
2
3
4
5
6
7
8
import { discordAPI } from "https://esm.town/v/stevekrouse/discordAPI";
// https://discord.com/developers/docs/resources/user#get-current-user-guilds
export let discordGetGuilds = ({token, tokenType}) => discordAPI({
token,
tokenType,
path: `users/@me/guilds`
})