Typing Oauth2Guild

Does anyone know if discord-api-types has a builtin type for an Oauth2Guild (i.e. a guild fetched via the oauth2 api/v10/users/@me/guilds route) or would it just be
import type { APIPartialGuild } from 'discord-api-types/v10';
export interface Oauth2Guild extends APIPartialGuild {
permissions: string;
}
import type { APIPartialGuild } from 'discord-api-types/v10';
export interface Oauth2Guild extends APIPartialGuild {
permissions: string;
}
5 Replies
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
piemot
piemotOP2y ago
(discord-api-types 0.37.47)
piemot
piemotOP2y ago
that looks right 💜 thx!
d4
d42y ago
np
Want results from more Discord servers?
Add your server