Skip to content

Commit

Permalink
Update testData.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Sep 23, 2024
1 parent 65041bb commit ec02fda
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/testData.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,32 @@ export const TEST_DATA = {
mute: false,
pending: false,
},
ROLE_OVERRIDES_MEMBER: {
user: {
id: "301655085954367490",
username: "test",
discriminator: "0001",
avatar: null,
bot: false,
system: false,
mfa_enabled: false,
locale: "en-US",
verified: false,
email: null,
flags: 0,
premium_type: 0,
public_flags: 0,
},
nick: null,
roles: ["123453333333345678"],
joined_at: "2021-01-01T00:00:00.000Z",
premium_since: null,
deaf: false,
mute: false,
pending: false,
permissions: "0",
flags: 0,
},
ROLE_ADMIN: {
id: "123452789012345678",
name: "admin",
Expand Down Expand Up @@ -1142,6 +1168,13 @@ export const TEST_MEMBERS = {
});
return member;
},
ROLE_OVERRIDES_MEMBER: (client) => {
const member = new Member(client, TEST_DATA.ROLE_OVERRIDES_MEMBER, {
userId: TEST_DATA.ROLE_OVERRIDES_MEMBER.user.id,
guildId: TEST_DATA.GUILD_ID,
});
return member;
},
};

export const TEST_MESSAGES = {
Expand Down

0 comments on commit ec02fda

Please sign in to comment.