2022-03-19 10:37:45 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
// "Root" classes (starting points)
|
|
|
|
exports.BaseClient = require('./client/BaseClient');
|
|
|
|
exports.Client = require('./client/Client');
|
|
|
|
exports.Shard = require('./sharding/Shard');
|
|
|
|
exports.ShardClientUtil = require('./sharding/ShardClientUtil');
|
|
|
|
exports.ShardingManager = require('./sharding/ShardingManager');
|
|
|
|
exports.WebhookClient = require('./client/WebhookClient');
|
|
|
|
|
|
|
|
// Utilities
|
2023-02-21 09:22:51 +00:00
|
|
|
exports.DiscordRPCServer = require('./util/arRPC/index');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.ActivityFlags = require('./util/ActivityFlags');
|
|
|
|
exports.ApplicationFlags = require('./util/ApplicationFlags');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.BaseManager = require('./managers/BaseManager');
|
|
|
|
exports.BitField = require('./util/BitField');
|
|
|
|
exports.Collection = require('@discordjs/collection').Collection;
|
|
|
|
exports.Constants = require('./util/Constants');
|
|
|
|
exports.DataResolver = require('./util/DataResolver');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.DiscordAPIError = require('./rest/DiscordAPIError');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.Formatters = require('./util/Formatters');
|
2023-02-19 05:07:03 +00:00
|
|
|
exports.GuildMemberFlags = require('./util/GuildMemberFlags');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.HTTPError = require('./rest/HTTPError');
|
|
|
|
exports.Intents = require('./util/Intents');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.LimitedCollection = require('./util/LimitedCollection');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.MessageFlags = require('./util/MessageFlags');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.Options = require('./util/Options');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.Permissions = require('./util/Permissions');
|
|
|
|
exports.RateLimitError = require('./rest/RateLimitError');
|
|
|
|
exports.SnowflakeUtil = require('./util/SnowflakeUtil');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.Sweepers = require('./util/Sweepers');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.SystemChannelFlags = require('./util/SystemChannelFlags');
|
|
|
|
exports.ThreadMemberFlags = require('./util/ThreadMemberFlags');
|
|
|
|
exports.UserFlags = require('./util/UserFlags');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.Util = require('./util/Util');
|
|
|
|
exports.version = require('../package.json').version;
|
2022-07-10 12:28:47 +00:00
|
|
|
exports.DiscordAuthWebsocket = require('./util/RemoteAuth');
|
2022-07-07 17:23:41 +00:00
|
|
|
exports.PurchasedFlags = require('./util/PurchasedFlags');
|
2022-03-19 10:37:45 +00:00
|
|
|
|
|
|
|
// Managers
|
|
|
|
exports.ApplicationCommandManager = require('./managers/ApplicationCommandManager');
|
|
|
|
exports.ApplicationCommandPermissionsManager = require('./managers/ApplicationCommandPermissionsManager');
|
2022-12-20 15:46:50 +00:00
|
|
|
exports.AutoModerationRuleManager = require('./managers/AutoModerationRuleManager');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.BaseGuildEmojiManager = require('./managers/BaseGuildEmojiManager');
|
|
|
|
exports.CachedManager = require('./managers/CachedManager');
|
|
|
|
exports.ChannelManager = require('./managers/ChannelManager');
|
|
|
|
exports.ClientVoiceManager = require('./client/voice/ClientVoiceManager');
|
|
|
|
exports.DataManager = require('./managers/DataManager');
|
|
|
|
exports.GuildApplicationCommandManager = require('./managers/GuildApplicationCommandManager');
|
|
|
|
exports.GuildBanManager = require('./managers/GuildBanManager');
|
|
|
|
exports.GuildChannelManager = require('./managers/GuildChannelManager');
|
|
|
|
exports.GuildEmojiManager = require('./managers/GuildEmojiManager');
|
|
|
|
exports.GuildEmojiRoleManager = require('./managers/GuildEmojiRoleManager');
|
|
|
|
exports.GuildInviteManager = require('./managers/GuildInviteManager');
|
|
|
|
exports.GuildManager = require('./managers/GuildManager');
|
|
|
|
exports.GuildMemberManager = require('./managers/GuildMemberManager');
|
|
|
|
exports.GuildMemberRoleManager = require('./managers/GuildMemberRoleManager');
|
|
|
|
exports.GuildScheduledEventManager = require('./managers/GuildScheduledEventManager');
|
|
|
|
exports.GuildStickerManager = require('./managers/GuildStickerManager');
|
|
|
|
exports.MessageManager = require('./managers/MessageManager');
|
|
|
|
exports.PermissionOverwriteManager = require('./managers/PermissionOverwriteManager');
|
|
|
|
exports.PresenceManager = require('./managers/PresenceManager');
|
|
|
|
exports.ReactionManager = require('./managers/ReactionManager');
|
|
|
|
exports.ReactionUserManager = require('./managers/ReactionUserManager');
|
|
|
|
exports.RoleManager = require('./managers/RoleManager');
|
2022-08-25 11:20:00 +00:00
|
|
|
exports.SessionManager = require('./managers/SessionManager');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.StageInstanceManager = require('./managers/StageInstanceManager');
|
|
|
|
exports.ThreadManager = require('./managers/ThreadManager');
|
|
|
|
exports.ThreadMemberManager = require('./managers/ThreadMemberManager');
|
|
|
|
exports.UserManager = require('./managers/UserManager');
|
|
|
|
exports.VoiceStateManager = require('./managers/VoiceStateManager');
|
|
|
|
exports.WebSocketManager = require('./client/websocket/WebSocketManager');
|
|
|
|
exports.WebSocketShard = require('./client/websocket/WebSocketShard');
|
2022-09-09 16:44:45 +00:00
|
|
|
exports.RelationshipManager = require('./managers/RelationshipManager');
|
2022-03-19 10:37:45 +00:00
|
|
|
|
|
|
|
// Structures
|
|
|
|
exports.Activity = require('./structures/Presence').Activity;
|
|
|
|
exports.AnonymousGuild = require('./structures/AnonymousGuild');
|
|
|
|
exports.Application = require('./structures/interfaces/Application');
|
|
|
|
exports.ApplicationCommand = require('./structures/ApplicationCommand');
|
2023-01-26 07:10:27 +00:00
|
|
|
exports.ApplicationRoleConnectionMetadata =
|
|
|
|
require('./structures/ApplicationRoleConnectionMetadata').ApplicationRoleConnectionMetadata;
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.AutocompleteInteraction = require('./structures/AutocompleteInteraction');
|
2022-12-20 15:46:50 +00:00
|
|
|
exports.AutoModerationActionExecution = require('./structures/AutoModerationActionExecution');
|
|
|
|
exports.AutoModerationRule = require('./structures/AutoModerationRule');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.Base = require('./structures/Base');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.BaseCommandInteraction = require('./structures/BaseCommandInteraction');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.BaseGuild = require('./structures/BaseGuild');
|
|
|
|
exports.BaseGuildEmoji = require('./structures/BaseGuildEmoji');
|
|
|
|
exports.BaseGuildTextChannel = require('./structures/BaseGuildTextChannel');
|
|
|
|
exports.BaseGuildVoiceChannel = require('./structures/BaseGuildVoiceChannel');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.BaseMessageComponent = require('./structures/BaseMessageComponent');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.ButtonInteraction = require('./structures/ButtonInteraction');
|
|
|
|
exports.CategoryChannel = require('./structures/CategoryChannel');
|
|
|
|
exports.Channel = require('./structures/Channel').Channel;
|
|
|
|
exports.ClientApplication = require('./structures/ClientApplication');
|
|
|
|
exports.ClientPresence = require('./structures/ClientPresence');
|
|
|
|
exports.ClientUser = require('./structures/ClientUser');
|
|
|
|
exports.Collector = require('./structures/interfaces/Collector');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.CommandInteraction = require('./structures/CommandInteraction');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.CommandInteractionOptionResolver = require('./structures/CommandInteractionOptionResolver');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.ContextMenuInteraction = require('./structures/ContextMenuInteraction');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.DMChannel = require('./structures/DMChannel');
|
|
|
|
exports.Emoji = require('./structures/Emoji').Emoji;
|
|
|
|
exports.Guild = require('./structures/Guild').Guild;
|
|
|
|
exports.GuildAuditLogs = require('./structures/GuildAuditLogs');
|
|
|
|
exports.GuildAuditLogsEntry = require('./structures/GuildAuditLogs').Entry;
|
|
|
|
exports.GuildBan = require('./structures/GuildBan');
|
|
|
|
exports.GuildChannel = require('./structures/GuildChannel');
|
|
|
|
exports.GuildEmoji = require('./structures/GuildEmoji');
|
|
|
|
exports.GuildMember = require('./structures/GuildMember').GuildMember;
|
|
|
|
exports.GuildPreview = require('./structures/GuildPreview');
|
|
|
|
exports.GuildPreviewEmoji = require('./structures/GuildPreviewEmoji');
|
|
|
|
exports.GuildScheduledEvent = require('./structures/GuildScheduledEvent').GuildScheduledEvent;
|
|
|
|
exports.GuildTemplate = require('./structures/GuildTemplate');
|
|
|
|
exports.Integration = require('./structures/Integration');
|
|
|
|
exports.IntegrationApplication = require('./structures/IntegrationApplication');
|
|
|
|
exports.Interaction = require('./structures/Interaction');
|
|
|
|
exports.InteractionCollector = require('./structures/InteractionCollector');
|
|
|
|
exports.InteractionWebhook = require('./structures/InteractionWebhook');
|
|
|
|
exports.Invite = require('./structures/Invite');
|
|
|
|
exports.InviteStageInstance = require('./structures/InviteStageInstance');
|
|
|
|
exports.InviteGuild = require('./structures/InviteGuild');
|
|
|
|
exports.Message = require('./structures/Message').Message;
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.MessageActionRow = require('./structures/MessageActionRow');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.MessageAttachment = require('./structures/MessageAttachment');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.MessageButton = require('./structures/MessageButton');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.MessageCollector = require('./structures/MessageCollector');
|
|
|
|
exports.MessageComponentInteraction = require('./structures/MessageComponentInteraction');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.MessageContextMenuInteraction = require('./structures/MessageContextMenuInteraction');
|
|
|
|
exports.MessageEmbed = require('./structures/MessageEmbed');
|
2022-04-01 05:09:46 +00:00
|
|
|
exports.WebEmbed = require('./structures/WebEmbed');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.MessageMentions = require('./structures/MessageMentions');
|
|
|
|
exports.MessagePayload = require('./structures/MessagePayload');
|
|
|
|
exports.MessageReaction = require('./structures/MessageReaction');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.MessageSelectMenu = require('./structures/MessageSelectMenu');
|
2022-05-14 08:06:15 +00:00
|
|
|
exports.Modal = require('./structures/Modal');
|
|
|
|
exports.ModalSubmitInteraction = require('./structures/ModalSubmitInteraction');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.NewsChannel = require('./structures/NewsChannel');
|
|
|
|
exports.OAuth2Guild = require('./structures/OAuth2Guild');
|
|
|
|
exports.PartialGroupDMChannel = require('./structures/PartialGroupDMChannel');
|
|
|
|
exports.PermissionOverwrites = require('./structures/PermissionOverwrites');
|
|
|
|
exports.Presence = require('./structures/Presence').Presence;
|
|
|
|
exports.ReactionCollector = require('./structures/ReactionCollector');
|
|
|
|
exports.ReactionEmoji = require('./structures/ReactionEmoji');
|
|
|
|
exports.RichPresenceAssets = require('./structures/Presence').RichPresenceAssets;
|
|
|
|
exports.Role = require('./structures/Role').Role;
|
2022-08-25 11:20:00 +00:00
|
|
|
exports.Session = require('./structures/Session');
|
2022-07-06 18:42:21 +00:00
|
|
|
// RPC
|
|
|
|
exports.getUUID = require('./structures/RichPresence').getUUID;
|
|
|
|
exports.CustomStatus = require('./structures/RichPresence').CustomStatus;
|
|
|
|
exports.RichPresence = require('./structures/RichPresence').RichPresence;
|
|
|
|
exports.SpotifyRPC = require('./structures/RichPresence').SpotifyRPC;
|
|
|
|
//
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.SelectMenuInteraction = require('./structures/SelectMenuInteraction');
|
|
|
|
exports.StageChannel = require('./structures/StageChannel');
|
|
|
|
exports.StageInstance = require('./structures/StageInstance').StageInstance;
|
|
|
|
exports.Sticker = require('./structures/Sticker').Sticker;
|
|
|
|
exports.StickerPack = require('./structures/StickerPack');
|
|
|
|
exports.StoreChannel = require('./structures/StoreChannel');
|
|
|
|
exports.Team = require('./structures/Team');
|
|
|
|
exports.TeamMember = require('./structures/TeamMember');
|
|
|
|
exports.TextChannel = require('./structures/TextChannel');
|
2022-05-14 08:06:15 +00:00
|
|
|
exports.TextInputComponent = require('./structures/TextInputComponent');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.ThreadChannel = require('./structures/ThreadChannel');
|
|
|
|
exports.ThreadMember = require('./structures/ThreadMember');
|
|
|
|
exports.Typing = require('./structures/Typing');
|
|
|
|
exports.User = require('./structures/User');
|
2022-03-24 10:55:32 +00:00
|
|
|
exports.UserContextMenuInteraction = require('./structures/UserContextMenuInteraction');
|
2022-03-19 10:37:45 +00:00
|
|
|
exports.VoiceChannel = require('./structures/VoiceChannel');
|
|
|
|
exports.VoiceRegion = require('./structures/VoiceRegion');
|
|
|
|
exports.VoiceState = require('./structures/VoiceState');
|
|
|
|
exports.Webhook = require('./structures/Webhook');
|
|
|
|
exports.Widget = require('./structures/Widget');
|
|
|
|
exports.WidgetMember = require('./structures/WidgetMember');
|
|
|
|
exports.WelcomeChannel = require('./structures/WelcomeChannel');
|
|
|
|
exports.WelcomeScreen = require('./structures/WelcomeScreen');
|
2022-04-16 10:44:43 +00:00
|
|
|
exports.WebSocket = require('./WebSocket');
|