Skip to content

Commit

Permalink
chore: use named export
Browse files Browse the repository at this point in the history
  • Loading branch information
imnaiyar committed Jan 19, 2025
1 parent 7a25c11 commit fe36aab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { ChatInputCommandInteraction } = require('../../structures/ChatInputComma
const { MentionableSelectMenuInteraction } = require('../../structures/MentionableSelectMenuInteraction');
const { MessageContextMenuCommandInteraction } = require('../../structures/MessageContextMenuCommandInteraction');
const { ModalSubmitInteraction } = require('../../structures/ModalSubmitInteraction');
const PrimaryEntryPointCommandInteraction = require('../../structures/PrimaryEntryPointCommandInteraction');
const { PrimaryEntryPointCommandInteraction } = require('../../structures/PrimaryEntryPointCommandInteraction');
const { RoleSelectMenuInteraction } = require('../../structures/RoleSelectMenuInteraction');
const { StringSelectMenuInteraction } = require('../../structures/StringSelectMenuInteraction');
const { UserContextMenuCommandInteraction } = require('../../structures/UserContextMenuCommandInteraction');
Expand Down
3 changes: 2 additions & 1 deletion packages/discord.js/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ exports.PartialGroupDMChannel = require('./structures/PartialGroupDMChannel').Pa
exports.PermissionOverwrites = require('./structures/PermissionOverwrites').PermissionOverwrites;
exports.Poll = require('./structures/Poll').Poll;
exports.PollAnswer = require('./structures/PollAnswer').PollAnswer;
exports.PrimaryEntryPointCommandInteraction = require('./structures/PrimaryEntryPointCommandInteraction');
exports.PrimaryEntryPointCommandInteraction =
require('./structures/PrimaryEntryPointCommandInteraction').PrimaryEntryPointCommandInteraction;
exports.Presence = require('./structures/Presence').Presence;
exports.ReactionCollector = require('./structures/ReactionCollector').ReactionCollector;
exports.ReactionEmoji = require('./structures/ReactionEmoji').ReactionEmoji;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use strict';

const CommandInteraction = require('./CommandInteraction');
const { CommandInteraction } = require('./CommandInteraction');
/**
* Represents a primary entry point command interaction.
* @extends {CommandInteraction}
*/
class PrimaryEntryPointCommandInteraction extends CommandInteraction {}

module.exports = PrimaryEntryPointCommandInteraction;
exports.PrimaryEntryPointCommandInteraction = PrimaryEntryPointCommandInteraction;

0 comments on commit fe36aab

Please sign in to comment.