You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
discordbot.js/graphql/schema.graphql

39 lines
598 B
GraphQL

type User {
id: String
name: String
avatar: String
bot: Boolean
tag: String
}
type Role {
id: String
name: String
color: String
members: [GuildMember]
}
type GuildMember {
id: String
user: User
nickname: String
roles: [Role]
highestRole: Role
}
type Guild {
id: String
name: String
owner: GuildMember
members: [GuildMember]
roles: [Role]
memberCount: Int
icon: String
}
type Client {
guilds(count: Int): [Guild]
user: User
ping: Float
status: Int
uptime: Int
}
type Query {
client: Client
}