diff --git a/src/plugins/discord/fetcher.js b/src/plugins/discord/fetcher.js index a230229..8da9f92 100644 --- a/src/plugins/discord/fetcher.js +++ b/src/plugins/discord/fetcher.js @@ -83,7 +83,6 @@ export class Fetcher { bot: x.user.bot || x.user.system || false, }, nick: x.nick || null, - roles: x.roles, })); const hasNextPage = results.length === membersLimit; const endCursor = diff --git a/src/plugins/discord/fetcher.test.js b/src/plugins/discord/fetcher.test.js index ae138c8..5f05637 100644 --- a/src/plugins/discord/fetcher.test.js +++ b/src/plugins/discord/fetcher.test.js @@ -80,7 +80,6 @@ describe("plugins/discord/fetcher", () => { bot: true, }, nick: "nickname", - roles: ["test role"], }); const options = () => ({ diff --git a/src/plugins/discord/models.js b/src/plugins/discord/models.js index 866b4f2..9bd2978 100644 --- a/src/plugins/discord/models.js +++ b/src/plugins/discord/models.js @@ -74,7 +74,6 @@ export type User = {| export type GuildMember = {| +user: User, +nick: string | null, - +roles: $ReadOnlyArray, |}; // From the Discord docs: "emoji takes the form of name:id for