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
|
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');
|
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;
|
|
|
|
|
|
|
|
// Managers
|
|
|
|
exports.ApplicationCommandManager = require('./managers/ApplicationCommandManager');
|
|
|
|
exports.ApplicationCommandPermissionsManager = require('./managers/ApplicationCommandPermissionsManager');
|
|
|
|
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');
|
|
|
|
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-04-12 05:46:08 +00:00
|
|
|
exports.RelationshipsManager = require('./managers/RelationshipsManager');
|
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');
|
|
|
|
exports.AutocompleteInteraction = require('./structures/AutocompleteInteraction');
|
|
|
|
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-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;
|
|
|
|
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');
|
|
|
|
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');
|