Skip to content

Commit

Permalink
Update testData.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Nov 8, 2024
1 parent 948a4cd commit b96079a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/testData.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Client from "./Client.js";
import { INTENTS, PERMISSIONS } from "./constants.js";
import BetterRequestHandler from "./rest/betterRequestHandler.js";
import {
ButtonClick,
Emoji,
Interaction,
Invite,
Expand Down Expand Up @@ -1348,4 +1349,11 @@ export const TEST_INTERACTIONS = {
const interaction = new Interaction(client, TEST_DATA.INTERACTION);
return interaction;
},
BUTTON_CLICK: (client) => {
const interaction = new ButtonClick(client, TEST_DATA.BUTTON_CLICK, {
guildId: TEST_DATA.GUILD_ID,
channelId: TEST_DATA.CHANNEL_ID,
});
return interaction;
},
};

0 comments on commit b96079a

Please sign in to comment.