From a6636412dc4de520b7ef4ee254aa550333b8b2b5 Mon Sep 17 00:00:00 2001 From: Harry Nguyen Date: Sat, 6 Jul 2024 22:31:18 +0700 Subject: [PATCH] Build source --- index.d.ts | 2 + index.d.ts.map | 1 + index.js | 18 ++++ index.js.map | 1 + package-lock.json | 16 ++++ package.json | 3 + src/Event.d.ts | 6 ++ src/Event.d.ts.map | 1 + src/Event.js | 13 +++ src/Event.js.map | 1 + src/Events.d.ts | 81 ++++++++++++++++++ src/Events.d.ts.map | 1 + src/Events.js | 84 +++++++++++++++++++ src/Events.js.map | 1 + src/Listener.d.ts | 3 + src/Listener.d.ts.map | 1 + src/Listener.js | 7 ++ src/Listener.js.map | 1 + src/channel/ChannelCreateEvent.d.ts | 6 ++ src/channel/ChannelCreateEvent.d.ts.map | 1 + src/channel/ChannelCreateEvent.js | 12 +++ src/channel/ChannelCreateEvent.js.map | 1 + src/channel/ChannelDeleteEvent.d.ts | 6 ++ src/channel/ChannelDeleteEvent.d.ts.map | 1 + src/channel/ChannelDeleteEvent.js | 12 +++ src/channel/ChannelDeleteEvent.js.map | 1 + src/channel/ChannelEvent.d.ts | 8 ++ src/channel/ChannelEvent.d.ts.map | 1 + src/channel/ChannelEvent.js | 15 ++++ src/channel/ChannelEvent.js.map | 1 + src/channel/ChannelPinsUpdateEvent.d.ts | 8 ++ src/channel/ChannelPinsUpdateEvent.d.ts.map | 1 + src/channel/ChannelPinsUpdateEvent.js | 16 ++++ src/channel/ChannelPinsUpdateEvent.js.map | 1 + src/channel/ChannelUpdateEvent.d.ts | 8 ++ src/channel/ChannelUpdateEvent.d.ts.map | 1 + src/channel/ChannelUpdateEvent.js | 16 ++++ src/channel/ChannelUpdateEvent.js.map | 1 + src/channel/index.d.ts | 6 ++ src/channel/index.d.ts.map | 1 + src/channel/index.js | 22 +++++ src/channel/index.js.map | 1 + src/client/ClientEvent.d.ts | 14 ++++ src/client/ClientEvent.d.ts.map | 1 + src/client/ClientEvent.js | 21 +++++ src/client/ClientEvent.js.map | 1 + src/client/ClientReadyEvent.d.ts | 6 ++ src/client/ClientReadyEvent.d.ts.map | 1 + src/client/ClientReadyEvent.js | 12 +++ src/client/ClientReadyEvent.js.map | 1 + src/client/index.d.ts | 3 + src/client/index.d.ts.map | 1 + src/client/index.js | 19 +++++ src/client/index.js.map | 1 + src/guild/GuildAuditLogEntryCreateEvent.d.ts | 17 ++++ .../GuildAuditLogEntryCreateEvent.d.ts.map | 1 + src/guild/GuildAuditLogEntryCreateEvent.js | 24 ++++++ .../GuildAuditLogEntryCreateEvent.js.map | 1 + src/guild/GuildAvailableEvent.d.ts | 6 ++ src/guild/GuildAvailableEvent.d.ts.map | 1 + src/guild/GuildAvailableEvent.js | 12 +++ src/guild/GuildAvailableEvent.js.map | 1 + src/guild/GuildBanAddEvent.d.ts | 8 ++ src/guild/GuildBanAddEvent.d.ts.map | 1 + src/guild/GuildBanAddEvent.js | 16 ++++ src/guild/GuildBanAddEvent.js.map | 1 + src/guild/GuildBanRemoveEvent.d.ts | 14 ++++ src/guild/GuildBanRemoveEvent.d.ts.map | 1 + src/guild/GuildBanRemoveEvent.js | 22 +++++ src/guild/GuildBanRemoveEvent.js.map | 1 + src/guild/GuildCreateEvent.d.ts | 6 ++ src/guild/GuildCreateEvent.d.ts.map | 1 + src/guild/GuildCreateEvent.js | 12 +++ src/guild/GuildCreateEvent.js.map | 1 + src/guild/GuildEmojiCreateEvent.d.ts | 8 ++ src/guild/GuildEmojiCreateEvent.d.ts.map | 1 + src/guild/GuildEmojiCreateEvent.js | 16 ++++ src/guild/GuildEmojiCreateEvent.js.map | 1 + src/guild/GuildEmojiDeleteEvent.d.ts | 8 ++ src/guild/GuildEmojiDeleteEvent.d.ts.map | 1 + src/guild/GuildEmojiDeleteEvent.js | 16 ++++ src/guild/GuildEmojiDeleteEvent.js.map | 1 + src/guild/GuildEmojiUpdateEvent.d.ts | 10 +++ src/guild/GuildEmojiUpdateEvent.d.ts.map | 1 + src/guild/GuildEmojiUpdateEvent.js | 20 +++++ src/guild/GuildEmojiUpdateEvent.js.map | 1 + src/guild/GuildEvent.d.ts | 15 ++++ src/guild/GuildEvent.d.ts.map | 1 + src/guild/GuildEvent.js | 22 +++++ src/guild/GuildEvent.js.map | 1 + src/guild/GuildIntegrationsUpdateEvent.d.ts | 6 ++ .../GuildIntegrationsUpdateEvent.d.ts.map | 1 + src/guild/GuildIntegrationsUpdateEvent.js | 12 +++ src/guild/GuildIntegrationsUpdateEvent.js.map | 1 + src/guild/GuildMemberAddEvent.d.ts | 14 ++++ src/guild/GuildMemberAddEvent.d.ts.map | 1 + src/guild/GuildMemberAddEvent.js | 22 +++++ src/guild/GuildMemberAddEvent.js.map | 1 + src/guild/GuildMemberAvailableEvent.d.ts | 14 ++++ src/guild/GuildMemberAvailableEvent.d.ts.map | 1 + src/guild/GuildMemberAvailableEvent.js | 22 +++++ src/guild/GuildMemberAvailableEvent.js.map | 1 + src/guild/GuildMemberRemoveEvent.d.ts | 14 ++++ src/guild/GuildMemberRemoveEvent.d.ts.map | 1 + src/guild/GuildMemberRemoveEvent.js | 22 +++++ src/guild/GuildMemberRemoveEvent.js.map | 1 + src/guild/GuildMemberUpdateEvent.d.ts | 10 +++ src/guild/GuildMemberUpdateEvent.d.ts.map | 1 + src/guild/GuildMemberUpdateEvent.js | 20 +++++ src/guild/GuildMemberUpdateEvent.js.map | 1 + src/guild/GuildMembersChunkEvents.d.ts | 18 ++++ src/guild/GuildMembersChunkEvents.d.ts.map | 1 + src/guild/GuildMembersChunkEvents.js | 28 +++++++ src/guild/GuildMembersChunkEvents.js.map | 1 + src/guild/GuildRoleCreateEvent.d.ts | 8 ++ src/guild/GuildRoleCreateEvent.d.ts.map | 1 + src/guild/GuildRoleCreateEvent.js | 16 ++++ src/guild/GuildRoleCreateEvent.js.map | 1 + src/guild/GuildRoleDeleteEvent.d.ts | 14 ++++ src/guild/GuildRoleDeleteEvent.d.ts.map | 1 + src/guild/GuildRoleDeleteEvent.js | 22 +++++ src/guild/GuildRoleDeleteEvent.js.map | 1 + src/guild/GuildRoleUpdateEvent.d.ts | 10 +++ src/guild/GuildRoleUpdateEvent.d.ts.map | 1 + src/guild/GuildRoleUpdateEvent.js | 20 +++++ src/guild/GuildRoleUpdateEvent.js.map | 1 + src/guild/GuildScheduledEventCreateEvent.d.ts | 8 ++ .../GuildScheduledEventCreateEvent.d.ts.map | 1 + src/guild/GuildScheduledEventCreateEvent.js | 16 ++++ .../GuildScheduledEventCreateEvent.js.map | 1 + src/guild/GuildScheduledEventDeleteEvent.d.ts | 8 ++ .../GuildScheduledEventDeleteEvent.d.ts.map | 1 + src/guild/GuildScheduledEventDeleteEvent.js | 16 ++++ .../GuildScheduledEventDeleteEvent.js.map | 1 + src/guild/GuildScheduledEventUpdateEvent.d.ts | 10 +++ .../GuildScheduledEventUpdateEvent.d.ts.map | 1 + src/guild/GuildScheduledEventUpdateEvent.js | 20 +++++ .../GuildScheduledEventUpdateEvent.js.map | 1 + .../GuildScheduledEventUserAddEvent.d.ts | 10 +++ .../GuildScheduledEventUserAddEvent.d.ts.map | 1 + src/guild/GuildScheduledEventUserAddEvent.js | 20 +++++ .../GuildScheduledEventUserAddEvent.js.map | 1 + .../GuildScheduledEventUserRemoveEvent.d.ts | 10 +++ ...uildScheduledEventUserRemoveEvent.d.ts.map | 1 + .../GuildScheduledEventUserRemoveEvent.js | 20 +++++ .../GuildScheduledEventUserRemoveEvent.js.map | 1 + src/guild/GuildStickerCreateEvent.d.ts | 8 ++ src/guild/GuildStickerCreateEvent.d.ts.map | 1 + src/guild/GuildStickerCreateEvent.js | 16 ++++ src/guild/GuildStickerCreateEvent.js.map | 1 + src/guild/GuildStickerDeleteEvent.d.ts | 8 ++ src/guild/GuildStickerDeleteEvent.d.ts.map | 1 + src/guild/GuildStickerDeleteEvent.js | 16 ++++ src/guild/GuildStickerDeleteEvent.js.map | 1 + src/guild/GuildStickerUpdateEvent.d.ts | 10 +++ src/guild/GuildStickerUpdateEvent.d.ts.map | 1 + src/guild/GuildStickerUpdateEvent.js | 20 +++++ src/guild/GuildStickerUpdateEvent.js.map | 1 + src/guild/GuildUnavailableEvent.d.ts | 6 ++ src/guild/GuildUnavailableEvent.d.ts.map | 1 + src/guild/GuildUnavailableEvent.js | 12 +++ src/guild/GuildUnavailableEvent.js.map | 1 + src/guild/GuildUpdateEvent.d.ts | 8 ++ src/guild/GuildUpdateEvent.d.ts.map | 1 + src/guild/GuildUpdateEvent.js | 16 ++++ src/guild/GuildUpdateEvent.js.map | 1 + src/guild/index.d.ts | 29 +++++++ src/guild/index.d.ts.map | 1 + src/guild/index.js | 45 ++++++++++ src/guild/index.js.map | 1 + src/index.d.ts | 19 +++++ src/index.d.ts.map | 1 + src/index.js | 35 ++++++++ src/index.js.map | 1 + src/interaction/InteractionCreateEvent.d.ts | 6 ++ .../InteractionCreateEvent.d.ts.map | 1 + src/interaction/InteractionCreateEvent.js | 12 +++ src/interaction/InteractionCreateEvent.js.map | 1 + src/interaction/InteractionEvent.d.ts | 15 ++++ src/interaction/InteractionEvent.d.ts.map | 1 + src/interaction/InteractionEvent.js | 22 +++++ src/interaction/InteractionEvent.js.map | 1 + src/interaction/index.d.ts | 3 + src/interaction/index.d.ts.map | 1 + src/interaction/index.js | 19 +++++ src/interaction/index.js.map | 1 + src/invite/InviteCreateEvent.d.ts | 6 ++ src/invite/InviteCreateEvent.d.ts.map | 1 + src/invite/InviteCreateEvent.js | 12 +++ src/invite/InviteCreateEvent.js.map | 1 + src/invite/InviteDeleteEvent.d.ts | 6 ++ src/invite/InviteDeleteEvent.d.ts.map | 1 + src/invite/InviteDeleteEvent.js | 12 +++ src/invite/InviteDeleteEvent.js.map | 1 + src/invite/InviteEvent.d.ts | 8 ++ src/invite/InviteEvent.d.ts.map | 1 + src/invite/InviteEvent.js | 15 ++++ src/invite/InviteEvent.js.map | 1 + src/invite/index.d.ts | 4 + src/invite/index.d.ts.map | 1 + src/invite/index.js | 20 +++++ src/invite/index.js.map | 1 + src/message/MessageDeleteBulkEvent.d.ts | 10 +++ src/message/MessageDeleteBulkEvent.d.ts.map | 1 + src/message/MessageDeleteBulkEvent.js | 20 +++++ src/message/MessageDeleteBulkEvent.js.map | 1 + src/message/MessageDeleteEvent.d.ts | 6 ++ src/message/MessageDeleteEvent.d.ts.map | 1 + src/message/MessageDeleteEvent.js | 12 +++ src/message/MessageDeleteEvent.js.map | 1 + src/message/MessageEvent.d.ts | 15 ++++ src/message/MessageEvent.d.ts.map | 1 + src/message/MessageEvent.js | 22 +++++ src/message/MessageEvent.js.map | 1 + src/message/MessageReactionAddEvent.d.ts | 10 +++ src/message/MessageReactionAddEvent.d.ts.map | 1 + src/message/MessageReactionAddEvent.js | 20 +++++ src/message/MessageReactionAddEvent.js.map | 1 + .../MessageReactionRemoveAllEvent.d.ts | 8 ++ .../MessageReactionRemoveAllEvent.d.ts.map | 1 + src/message/MessageReactionRemoveAllEvent.js | 16 ++++ .../MessageReactionRemoveAllEvent.js.map | 1 + .../MessageReactionRemoveEmojiEvent.d.ts | 10 +++ .../MessageReactionRemoveEmojiEvent.d.ts.map | 1 + .../MessageReactionRemoveEmojiEvent.js | 20 +++++ .../MessageReactionRemoveEmojiEvent.js.map | 1 + .../MessageReactionRemoveEmojiEvent.ts | 6 ++ src/message/MessageReactionRemoveEvent.d.ts | 10 +++ .../MessageReactionRemoveEvent.d.ts.map | 1 + src/message/MessageReactionRemoveEvent.js | 20 +++++ src/message/MessageReactionRemoveEvent.js.map | 1 + src/message/MessageUpdateEvent.d.ts | 8 ++ src/message/MessageUpdateEvent.d.ts.map | 1 + src/message/MessageUpdateEvent.js | 16 ++++ src/message/MessageUpdateEvent.js.map | 1 + src/message/index.d.ts | 9 ++ src/message/index.d.ts.map | 1 + src/message/index.js | 25 ++++++ src/message/index.js.map | 1 + ...licationCommandPermissionsUpdateEvent.d.ts | 7 ++ ...tionCommandPermissionsUpdateEvent.d.ts.map | 1 + ...pplicationCommandPermissionsUpdateEvent.js | 16 ++++ ...cationCommandPermissionsUpdateEvent.js.map | 1 + .../AutoModerationActionExecutionEvent.d.ts | 7 ++ ...utoModerationActionExecutionEvent.d.ts.map | 1 + .../AutoModerationActionExecutionEvent.js | 16 ++++ .../AutoModerationActionExecutionEvent.js.map | 1 + .../AutoModerationRuleCreateEvent.d.ts | 6 ++ .../AutoModerationRuleCreateEvent.d.ts.map | 1 + .../AutoModerationRuleCreateEvent.js | 12 +++ .../AutoModerationRuleCreateEvent.js.map | 1 + .../AutoModerationRuleDeleteEvent.d.ts | 6 ++ .../AutoModerationRuleDeleteEvent.d.ts.map | 1 + .../AutoModerationRuleDeleteEvent.js | 12 +++ .../AutoModerationRuleDeleteEvent.js.map | 1 + .../AutoModerationRuleUpdateEvent.d.ts | 8 ++ .../AutoModerationRuleUpdateEvent.d.ts.map | 1 + .../AutoModerationRuleUpdateEvent.js | 16 ++++ .../AutoModerationRuleUpdateEvent.js.map | 1 + src/moderation/ModerationEvent.d.ts | 8 ++ src/moderation/ModerationEvent.d.ts.map | 1 + src/moderation/ModerationEvent.js | 15 ++++ src/moderation/ModerationEvent.js.map | 1 + src/moderation/index.d.ts | 7 ++ src/moderation/index.d.ts.map | 1 + src/moderation/index.js | 23 +++++ src/moderation/index.js.map | 1 + src/plugin/PluginDisableEvent.d.ts | 5 ++ src/plugin/PluginDisableEvent.d.ts.map | 1 + src/plugin/PluginDisableEvent.js | 12 +++ src/plugin/PluginDisableEvent.js.map | 1 + src/plugin/PluginEnableEvent.d.ts | 5 ++ src/plugin/PluginEnableEvent.d.ts.map | 1 + src/plugin/PluginEnableEvent.js | 12 +++ src/plugin/PluginEnableEvent.js.map | 1 + src/plugin/PluginEvent.d.ts | 7 ++ src/plugin/PluginEvent.d.ts.map | 1 + src/plugin/PluginEvent.js | 15 ++++ src/plugin/PluginEvent.js.map | 1 + src/plugin/index.d.ts | 4 + src/plugin/index.d.ts.map | 1 + src/plugin/index.js | 20 +++++ src/plugin/index.js.map | 1 + src/server/DataPacketReceiveEvent.d.ts | 7 ++ src/server/DataPacketReceiveEvent.d.ts.map | 1 + src/server/DataPacketReceiveEvent.js | 16 ++++ src/server/DataPacketReceiveEvent.js.map | 1 + src/server/ServerEvent.d.ts | 5 ++ src/server/ServerEvent.d.ts.map | 1 + src/server/ServerEvent.js | 11 +++ src/server/ServerEvent.js.map | 1 + src/server/index.d.ts | 3 + src/server/index.d.ts.map | 1 + src/server/index.js | 19 +++++ src/server/index.js.map | 1 + src/shard/ShardDisconnectEvent.d.ts | 9 ++ src/shard/ShardDisconnectEvent.d.ts.map | 1 + src/shard/ShardDisconnectEvent.js | 20 +++++ src/shard/ShardDisconnectEvent.js.map | 1 + src/shard/ShardErrorEvent.d.ts | 9 ++ src/shard/ShardErrorEvent.d.ts.map | 1 + src/shard/ShardErrorEvent.js | 20 +++++ src/shard/ShardErrorEvent.js.map | 1 + src/shard/ShardReadyEvent.d.ts | 9 ++ src/shard/ShardReadyEvent.d.ts.map | 1 + src/shard/ShardReadyEvent.js | 20 +++++ src/shard/ShardReadyEvent.js.map | 1 + src/shard/ShardReconnectingEvent.d.ts | 9 ++ src/shard/ShardReconnectingEvent.d.ts.map | 1 + src/shard/ShardReconnectingEvent.js | 20 +++++ src/shard/ShardReconnectingEvent.js.map | 1 + src/shard/ShardReconnectingEvent.ts | 6 ++ src/shard/ShardResumeEvent.d.ts | 9 ++ src/shard/ShardResumeEvent.d.ts.map | 1 + src/shard/ShardResumeEvent.js | 20 +++++ src/shard/ShardResumeEvent.js.map | 1 + src/shard/index.d.ts | 7 ++ src/shard/index.d.ts.map | 1 + src/shard/index.js | 23 +++++ src/shard/index.js.map | 1 + src/stage/StageEvent.d.ts | 8 ++ src/stage/StageEvent.d.ts.map | 1 + src/stage/StageEvent.js | 15 ++++ src/stage/StageEvent.js.map | 1 + src/stage/StageInstanceCreateEvent.d.ts | 5 ++ src/stage/StageInstanceCreateEvent.d.ts.map | 1 + src/stage/StageInstanceCreateEvent.js | 12 +++ src/stage/StageInstanceCreateEvent.js.map | 1 + src/stage/StageInstanceDeleteEvent.d.ts | 6 ++ src/stage/StageInstanceDeleteEvent.d.ts.map | 1 + src/stage/StageInstanceDeleteEvent.js | 12 +++ src/stage/StageInstanceDeleteEvent.js.map | 1 + src/stage/StageInstanceUpdateEvent.d.ts | 8 ++ src/stage/StageInstanceUpdateEvent.d.ts.map | 1 + src/stage/StageInstanceUpdateEvent.js | 16 ++++ src/stage/StageInstanceUpdateEvent.js.map | 1 + src/stage/index.d.ts | 5 ++ src/stage/index.d.ts.map | 1 + src/stage/index.js | 21 +++++ src/stage/index.js.map | 1 + src/thread/ThreadCreateEvent.d.ts | 8 ++ src/thread/ThreadCreateEvent.d.ts.map | 1 + src/thread/ThreadCreateEvent.js | 16 ++++ src/thread/ThreadCreateEvent.js.map | 1 + src/thread/ThreadDeleteEvent.d.ts | 6 ++ src/thread/ThreadDeleteEvent.d.ts.map | 1 + src/thread/ThreadDeleteEvent.js | 12 +++ src/thread/ThreadDeleteEvent.js.map | 1 + src/thread/ThreadEvent.d.ts | 8 ++ src/thread/ThreadEvent.d.ts.map | 1 + src/thread/ThreadEvent.js | 15 ++++ src/thread/ThreadEvent.js.map | 1 + src/thread/ThreadEvent.ts | 4 +- src/thread/ThreadListSyncEvent.d.ts | 10 +++ src/thread/ThreadListSyncEvent.d.ts.map | 1 + src/thread/ThreadListSyncEvent.js | 20 +++++ src/thread/ThreadListSyncEvent.js.map | 1 + src/thread/ThreadMemberUpdateEvent.d.ts | 9 ++ src/thread/ThreadMemberUpdateEvent.d.ts.map | 1 + src/thread/ThreadMemberUpdateEvent.js | 19 +++++ src/thread/ThreadMemberUpdateEvent.js.map | 1 + src/thread/ThreadMemberUpdateEvent.ts | 1 + src/thread/ThreadMembersUpdateEvent.d.ts | 10 +++ src/thread/ThreadMembersUpdateEvent.d.ts.map | 1 + src/thread/ThreadMembersUpdateEvent.js | 20 +++++ src/thread/ThreadMembersUpdateEvent.js.map | 1 + src/thread/index.d.ts | 7 ++ src/thread/index.d.ts.map | 1 + src/thread/index.js | 23 +++++ src/thread/index.js.map | 1 + src/user/PresenceUpdateEvent.d.ts | 10 +++ src/user/PresenceUpdateEvent.d.ts.map | 1 + src/user/PresenceUpdateEvent.js | 20 +++++ src/user/PresenceUpdateEvent.js.map | 1 + src/user/TypingStartEvent.d.ts | 8 ++ src/user/TypingStartEvent.d.ts.map | 1 + src/user/TypingStartEvent.js | 16 ++++ src/user/TypingStartEvent.js.map | 1 + src/user/UserUpdateEvent.d.ts | 10 +++ src/user/UserUpdateEvent.d.ts.map | 1 + src/user/UserUpdateEvent.js | 20 +++++ src/user/UserUpdateEvent.js.map | 1 + src/user/index.d.ts | 4 + src/user/index.d.ts.map | 1 + src/user/index.js | 20 +++++ src/user/index.js.map | 1 + src/voice/VoiceStateUpdateEvent.d.ts | 10 +++ src/voice/VoiceStateUpdateEvent.d.ts.map | 1 + src/voice/VoiceStateUpdateEvent.js | 20 +++++ src/voice/VoiceStateUpdateEvent.js.map | 1 + src/voice/index.d.ts | 2 + src/voice/index.d.ts.map | 1 + src/voice/index.js | 18 ++++ src/voice/index.js.map | 1 + src/webhooks/WebhooksUpdateEvent.d.ts | 12 +++ src/webhooks/WebhooksUpdateEvent.d.ts.map | 1 + src/webhooks/WebhooksUpdateEvent.js | 20 +++++ src/webhooks/WebhooksUpdateEvent.js.map | 1 + src/webhooks/index.d.ts | 2 + src/webhooks/index.d.ts.map | 1 + src/webhooks/index.js | 18 ++++ src/webhooks/index.js.map | 1 + tsconfig.json | 21 +++++ 403 files changed, 3000 insertions(+), 2 deletions(-) create mode 100644 index.d.ts create mode 100644 index.d.ts.map create mode 100644 index.js create mode 100644 index.js.map create mode 100644 src/Event.d.ts create mode 100644 src/Event.d.ts.map create mode 100644 src/Event.js create mode 100644 src/Event.js.map create mode 100644 src/Events.d.ts create mode 100644 src/Events.d.ts.map create mode 100644 src/Events.js create mode 100644 src/Events.js.map create mode 100644 src/Listener.d.ts create mode 100644 src/Listener.d.ts.map create mode 100644 src/Listener.js create mode 100644 src/Listener.js.map create mode 100644 src/channel/ChannelCreateEvent.d.ts create mode 100644 src/channel/ChannelCreateEvent.d.ts.map create mode 100644 src/channel/ChannelCreateEvent.js create mode 100644 src/channel/ChannelCreateEvent.js.map create mode 100644 src/channel/ChannelDeleteEvent.d.ts create mode 100644 src/channel/ChannelDeleteEvent.d.ts.map create mode 100644 src/channel/ChannelDeleteEvent.js create mode 100644 src/channel/ChannelDeleteEvent.js.map create mode 100644 src/channel/ChannelEvent.d.ts create mode 100644 src/channel/ChannelEvent.d.ts.map create mode 100644 src/channel/ChannelEvent.js create mode 100644 src/channel/ChannelEvent.js.map create mode 100644 src/channel/ChannelPinsUpdateEvent.d.ts create mode 100644 src/channel/ChannelPinsUpdateEvent.d.ts.map create mode 100644 src/channel/ChannelPinsUpdateEvent.js create mode 100644 src/channel/ChannelPinsUpdateEvent.js.map create mode 100644 src/channel/ChannelUpdateEvent.d.ts create mode 100644 src/channel/ChannelUpdateEvent.d.ts.map create mode 100644 src/channel/ChannelUpdateEvent.js create mode 100644 src/channel/ChannelUpdateEvent.js.map create mode 100644 src/channel/index.d.ts create mode 100644 src/channel/index.d.ts.map create mode 100644 src/channel/index.js create mode 100644 src/channel/index.js.map create mode 100644 src/client/ClientEvent.d.ts create mode 100644 src/client/ClientEvent.d.ts.map create mode 100644 src/client/ClientEvent.js create mode 100644 src/client/ClientEvent.js.map create mode 100644 src/client/ClientReadyEvent.d.ts create mode 100644 src/client/ClientReadyEvent.d.ts.map create mode 100644 src/client/ClientReadyEvent.js create mode 100644 src/client/ClientReadyEvent.js.map create mode 100644 src/client/index.d.ts create mode 100644 src/client/index.d.ts.map create mode 100644 src/client/index.js create mode 100644 src/client/index.js.map create mode 100644 src/guild/GuildAuditLogEntryCreateEvent.d.ts create mode 100644 src/guild/GuildAuditLogEntryCreateEvent.d.ts.map create mode 100644 src/guild/GuildAuditLogEntryCreateEvent.js create mode 100644 src/guild/GuildAuditLogEntryCreateEvent.js.map create mode 100644 src/guild/GuildAvailableEvent.d.ts create mode 100644 src/guild/GuildAvailableEvent.d.ts.map create mode 100644 src/guild/GuildAvailableEvent.js create mode 100644 src/guild/GuildAvailableEvent.js.map create mode 100644 src/guild/GuildBanAddEvent.d.ts create mode 100644 src/guild/GuildBanAddEvent.d.ts.map create mode 100644 src/guild/GuildBanAddEvent.js create mode 100644 src/guild/GuildBanAddEvent.js.map create mode 100644 src/guild/GuildBanRemoveEvent.d.ts create mode 100644 src/guild/GuildBanRemoveEvent.d.ts.map create mode 100644 src/guild/GuildBanRemoveEvent.js create mode 100644 src/guild/GuildBanRemoveEvent.js.map create mode 100644 src/guild/GuildCreateEvent.d.ts create mode 100644 src/guild/GuildCreateEvent.d.ts.map create mode 100644 src/guild/GuildCreateEvent.js create mode 100644 src/guild/GuildCreateEvent.js.map create mode 100644 src/guild/GuildEmojiCreateEvent.d.ts create mode 100644 src/guild/GuildEmojiCreateEvent.d.ts.map create mode 100644 src/guild/GuildEmojiCreateEvent.js create mode 100644 src/guild/GuildEmojiCreateEvent.js.map create mode 100644 src/guild/GuildEmojiDeleteEvent.d.ts create mode 100644 src/guild/GuildEmojiDeleteEvent.d.ts.map create mode 100644 src/guild/GuildEmojiDeleteEvent.js create mode 100644 src/guild/GuildEmojiDeleteEvent.js.map create mode 100644 src/guild/GuildEmojiUpdateEvent.d.ts create mode 100644 src/guild/GuildEmojiUpdateEvent.d.ts.map create mode 100644 src/guild/GuildEmojiUpdateEvent.js create mode 100644 src/guild/GuildEmojiUpdateEvent.js.map create mode 100644 src/guild/GuildEvent.d.ts create mode 100644 src/guild/GuildEvent.d.ts.map create mode 100644 src/guild/GuildEvent.js create mode 100644 src/guild/GuildEvent.js.map create mode 100644 src/guild/GuildIntegrationsUpdateEvent.d.ts create mode 100644 src/guild/GuildIntegrationsUpdateEvent.d.ts.map create mode 100644 src/guild/GuildIntegrationsUpdateEvent.js create mode 100644 src/guild/GuildIntegrationsUpdateEvent.js.map create mode 100644 src/guild/GuildMemberAddEvent.d.ts create mode 100644 src/guild/GuildMemberAddEvent.d.ts.map create mode 100644 src/guild/GuildMemberAddEvent.js create mode 100644 src/guild/GuildMemberAddEvent.js.map create mode 100644 src/guild/GuildMemberAvailableEvent.d.ts create mode 100644 src/guild/GuildMemberAvailableEvent.d.ts.map create mode 100644 src/guild/GuildMemberAvailableEvent.js create mode 100644 src/guild/GuildMemberAvailableEvent.js.map create mode 100644 src/guild/GuildMemberRemoveEvent.d.ts create mode 100644 src/guild/GuildMemberRemoveEvent.d.ts.map create mode 100644 src/guild/GuildMemberRemoveEvent.js create mode 100644 src/guild/GuildMemberRemoveEvent.js.map create mode 100644 src/guild/GuildMemberUpdateEvent.d.ts create mode 100644 src/guild/GuildMemberUpdateEvent.d.ts.map create mode 100644 src/guild/GuildMemberUpdateEvent.js create mode 100644 src/guild/GuildMemberUpdateEvent.js.map create mode 100644 src/guild/GuildMembersChunkEvents.d.ts create mode 100644 src/guild/GuildMembersChunkEvents.d.ts.map create mode 100644 src/guild/GuildMembersChunkEvents.js create mode 100644 src/guild/GuildMembersChunkEvents.js.map create mode 100644 src/guild/GuildRoleCreateEvent.d.ts create mode 100644 src/guild/GuildRoleCreateEvent.d.ts.map create mode 100644 src/guild/GuildRoleCreateEvent.js create mode 100644 src/guild/GuildRoleCreateEvent.js.map create mode 100644 src/guild/GuildRoleDeleteEvent.d.ts create mode 100644 src/guild/GuildRoleDeleteEvent.d.ts.map create mode 100644 src/guild/GuildRoleDeleteEvent.js create mode 100644 src/guild/GuildRoleDeleteEvent.js.map create mode 100644 src/guild/GuildRoleUpdateEvent.d.ts create mode 100644 src/guild/GuildRoleUpdateEvent.d.ts.map create mode 100644 src/guild/GuildRoleUpdateEvent.js create mode 100644 src/guild/GuildRoleUpdateEvent.js.map create mode 100644 src/guild/GuildScheduledEventCreateEvent.d.ts create mode 100644 src/guild/GuildScheduledEventCreateEvent.d.ts.map create mode 100644 src/guild/GuildScheduledEventCreateEvent.js create mode 100644 src/guild/GuildScheduledEventCreateEvent.js.map create mode 100644 src/guild/GuildScheduledEventDeleteEvent.d.ts create mode 100644 src/guild/GuildScheduledEventDeleteEvent.d.ts.map create mode 100644 src/guild/GuildScheduledEventDeleteEvent.js create mode 100644 src/guild/GuildScheduledEventDeleteEvent.js.map create mode 100644 src/guild/GuildScheduledEventUpdateEvent.d.ts create mode 100644 src/guild/GuildScheduledEventUpdateEvent.d.ts.map create mode 100644 src/guild/GuildScheduledEventUpdateEvent.js create mode 100644 src/guild/GuildScheduledEventUpdateEvent.js.map create mode 100644 src/guild/GuildScheduledEventUserAddEvent.d.ts create mode 100644 src/guild/GuildScheduledEventUserAddEvent.d.ts.map create mode 100644 src/guild/GuildScheduledEventUserAddEvent.js create mode 100644 src/guild/GuildScheduledEventUserAddEvent.js.map create mode 100644 src/guild/GuildScheduledEventUserRemoveEvent.d.ts create mode 100644 src/guild/GuildScheduledEventUserRemoveEvent.d.ts.map create mode 100644 src/guild/GuildScheduledEventUserRemoveEvent.js create mode 100644 src/guild/GuildScheduledEventUserRemoveEvent.js.map create mode 100644 src/guild/GuildStickerCreateEvent.d.ts create mode 100644 src/guild/GuildStickerCreateEvent.d.ts.map create mode 100644 src/guild/GuildStickerCreateEvent.js create mode 100644 src/guild/GuildStickerCreateEvent.js.map create mode 100644 src/guild/GuildStickerDeleteEvent.d.ts create mode 100644 src/guild/GuildStickerDeleteEvent.d.ts.map create mode 100644 src/guild/GuildStickerDeleteEvent.js create mode 100644 src/guild/GuildStickerDeleteEvent.js.map create mode 100644 src/guild/GuildStickerUpdateEvent.d.ts create mode 100644 src/guild/GuildStickerUpdateEvent.d.ts.map create mode 100644 src/guild/GuildStickerUpdateEvent.js create mode 100644 src/guild/GuildStickerUpdateEvent.js.map create mode 100644 src/guild/GuildUnavailableEvent.d.ts create mode 100644 src/guild/GuildUnavailableEvent.d.ts.map create mode 100644 src/guild/GuildUnavailableEvent.js create mode 100644 src/guild/GuildUnavailableEvent.js.map create mode 100644 src/guild/GuildUpdateEvent.d.ts create mode 100644 src/guild/GuildUpdateEvent.d.ts.map create mode 100644 src/guild/GuildUpdateEvent.js create mode 100644 src/guild/GuildUpdateEvent.js.map create mode 100644 src/guild/index.d.ts create mode 100644 src/guild/index.d.ts.map create mode 100644 src/guild/index.js create mode 100644 src/guild/index.js.map create mode 100644 src/index.d.ts create mode 100644 src/index.d.ts.map create mode 100644 src/index.js create mode 100644 src/index.js.map create mode 100644 src/interaction/InteractionCreateEvent.d.ts create mode 100644 src/interaction/InteractionCreateEvent.d.ts.map create mode 100644 src/interaction/InteractionCreateEvent.js create mode 100644 src/interaction/InteractionCreateEvent.js.map create mode 100644 src/interaction/InteractionEvent.d.ts create mode 100644 src/interaction/InteractionEvent.d.ts.map create mode 100644 src/interaction/InteractionEvent.js create mode 100644 src/interaction/InteractionEvent.js.map create mode 100644 src/interaction/index.d.ts create mode 100644 src/interaction/index.d.ts.map create mode 100644 src/interaction/index.js create mode 100644 src/interaction/index.js.map create mode 100644 src/invite/InviteCreateEvent.d.ts create mode 100644 src/invite/InviteCreateEvent.d.ts.map create mode 100644 src/invite/InviteCreateEvent.js create mode 100644 src/invite/InviteCreateEvent.js.map create mode 100644 src/invite/InviteDeleteEvent.d.ts create mode 100644 src/invite/InviteDeleteEvent.d.ts.map create mode 100644 src/invite/InviteDeleteEvent.js create mode 100644 src/invite/InviteDeleteEvent.js.map create mode 100644 src/invite/InviteEvent.d.ts create mode 100644 src/invite/InviteEvent.d.ts.map create mode 100644 src/invite/InviteEvent.js create mode 100644 src/invite/InviteEvent.js.map create mode 100644 src/invite/index.d.ts create mode 100644 src/invite/index.d.ts.map create mode 100644 src/invite/index.js create mode 100644 src/invite/index.js.map create mode 100644 src/message/MessageDeleteBulkEvent.d.ts create mode 100644 src/message/MessageDeleteBulkEvent.d.ts.map create mode 100644 src/message/MessageDeleteBulkEvent.js create mode 100644 src/message/MessageDeleteBulkEvent.js.map create mode 100644 src/message/MessageDeleteEvent.d.ts create mode 100644 src/message/MessageDeleteEvent.d.ts.map create mode 100644 src/message/MessageDeleteEvent.js create mode 100644 src/message/MessageDeleteEvent.js.map create mode 100644 src/message/MessageEvent.d.ts create mode 100644 src/message/MessageEvent.d.ts.map create mode 100644 src/message/MessageEvent.js create mode 100644 src/message/MessageEvent.js.map create mode 100644 src/message/MessageReactionAddEvent.d.ts create mode 100644 src/message/MessageReactionAddEvent.d.ts.map create mode 100644 src/message/MessageReactionAddEvent.js create mode 100644 src/message/MessageReactionAddEvent.js.map create mode 100644 src/message/MessageReactionRemoveAllEvent.d.ts create mode 100644 src/message/MessageReactionRemoveAllEvent.d.ts.map create mode 100644 src/message/MessageReactionRemoveAllEvent.js create mode 100644 src/message/MessageReactionRemoveAllEvent.js.map create mode 100644 src/message/MessageReactionRemoveEmojiEvent.d.ts create mode 100644 src/message/MessageReactionRemoveEmojiEvent.d.ts.map create mode 100644 src/message/MessageReactionRemoveEmojiEvent.js create mode 100644 src/message/MessageReactionRemoveEmojiEvent.js.map create mode 100644 src/message/MessageReactionRemoveEvent.d.ts create mode 100644 src/message/MessageReactionRemoveEvent.d.ts.map create mode 100644 src/message/MessageReactionRemoveEvent.js create mode 100644 src/message/MessageReactionRemoveEvent.js.map create mode 100644 src/message/MessageUpdateEvent.d.ts create mode 100644 src/message/MessageUpdateEvent.d.ts.map create mode 100644 src/message/MessageUpdateEvent.js create mode 100644 src/message/MessageUpdateEvent.js.map create mode 100644 src/message/index.d.ts create mode 100644 src/message/index.d.ts.map create mode 100644 src/message/index.js create mode 100644 src/message/index.js.map create mode 100644 src/moderation/ApplicationCommandPermissionsUpdateEvent.d.ts create mode 100644 src/moderation/ApplicationCommandPermissionsUpdateEvent.d.ts.map create mode 100644 src/moderation/ApplicationCommandPermissionsUpdateEvent.js create mode 100644 src/moderation/ApplicationCommandPermissionsUpdateEvent.js.map create mode 100644 src/moderation/AutoModerationActionExecutionEvent.d.ts create mode 100644 src/moderation/AutoModerationActionExecutionEvent.d.ts.map create mode 100644 src/moderation/AutoModerationActionExecutionEvent.js create mode 100644 src/moderation/AutoModerationActionExecutionEvent.js.map create mode 100644 src/moderation/AutoModerationRuleCreateEvent.d.ts create mode 100644 src/moderation/AutoModerationRuleCreateEvent.d.ts.map create mode 100644 src/moderation/AutoModerationRuleCreateEvent.js create mode 100644 src/moderation/AutoModerationRuleCreateEvent.js.map create mode 100644 src/moderation/AutoModerationRuleDeleteEvent.d.ts create mode 100644 src/moderation/AutoModerationRuleDeleteEvent.d.ts.map create mode 100644 src/moderation/AutoModerationRuleDeleteEvent.js create mode 100644 src/moderation/AutoModerationRuleDeleteEvent.js.map create mode 100644 src/moderation/AutoModerationRuleUpdateEvent.d.ts create mode 100644 src/moderation/AutoModerationRuleUpdateEvent.d.ts.map create mode 100644 src/moderation/AutoModerationRuleUpdateEvent.js create mode 100644 src/moderation/AutoModerationRuleUpdateEvent.js.map create mode 100644 src/moderation/ModerationEvent.d.ts create mode 100644 src/moderation/ModerationEvent.d.ts.map create mode 100644 src/moderation/ModerationEvent.js create mode 100644 src/moderation/ModerationEvent.js.map create mode 100644 src/moderation/index.d.ts create mode 100644 src/moderation/index.d.ts.map create mode 100644 src/moderation/index.js create mode 100644 src/moderation/index.js.map create mode 100644 src/plugin/PluginDisableEvent.d.ts create mode 100644 src/plugin/PluginDisableEvent.d.ts.map create mode 100644 src/plugin/PluginDisableEvent.js create mode 100644 src/plugin/PluginDisableEvent.js.map create mode 100644 src/plugin/PluginEnableEvent.d.ts create mode 100644 src/plugin/PluginEnableEvent.d.ts.map create mode 100644 src/plugin/PluginEnableEvent.js create mode 100644 src/plugin/PluginEnableEvent.js.map create mode 100644 src/plugin/PluginEvent.d.ts create mode 100644 src/plugin/PluginEvent.d.ts.map create mode 100644 src/plugin/PluginEvent.js create mode 100644 src/plugin/PluginEvent.js.map create mode 100644 src/plugin/index.d.ts create mode 100644 src/plugin/index.d.ts.map create mode 100644 src/plugin/index.js create mode 100644 src/plugin/index.js.map create mode 100644 src/server/DataPacketReceiveEvent.d.ts create mode 100644 src/server/DataPacketReceiveEvent.d.ts.map create mode 100644 src/server/DataPacketReceiveEvent.js create mode 100644 src/server/DataPacketReceiveEvent.js.map create mode 100644 src/server/ServerEvent.d.ts create mode 100644 src/server/ServerEvent.d.ts.map create mode 100644 src/server/ServerEvent.js create mode 100644 src/server/ServerEvent.js.map create mode 100644 src/server/index.d.ts create mode 100644 src/server/index.d.ts.map create mode 100644 src/server/index.js create mode 100644 src/server/index.js.map create mode 100644 src/shard/ShardDisconnectEvent.d.ts create mode 100644 src/shard/ShardDisconnectEvent.d.ts.map create mode 100644 src/shard/ShardDisconnectEvent.js create mode 100644 src/shard/ShardDisconnectEvent.js.map create mode 100644 src/shard/ShardErrorEvent.d.ts create mode 100644 src/shard/ShardErrorEvent.d.ts.map create mode 100644 src/shard/ShardErrorEvent.js create mode 100644 src/shard/ShardErrorEvent.js.map create mode 100644 src/shard/ShardReadyEvent.d.ts create mode 100644 src/shard/ShardReadyEvent.d.ts.map create mode 100644 src/shard/ShardReadyEvent.js create mode 100644 src/shard/ShardReadyEvent.js.map create mode 100644 src/shard/ShardReconnectingEvent.d.ts create mode 100644 src/shard/ShardReconnectingEvent.d.ts.map create mode 100644 src/shard/ShardReconnectingEvent.js create mode 100644 src/shard/ShardReconnectingEvent.js.map create mode 100644 src/shard/ShardResumeEvent.d.ts create mode 100644 src/shard/ShardResumeEvent.d.ts.map create mode 100644 src/shard/ShardResumeEvent.js create mode 100644 src/shard/ShardResumeEvent.js.map create mode 100644 src/shard/index.d.ts create mode 100644 src/shard/index.d.ts.map create mode 100644 src/shard/index.js create mode 100644 src/shard/index.js.map create mode 100644 src/stage/StageEvent.d.ts create mode 100644 src/stage/StageEvent.d.ts.map create mode 100644 src/stage/StageEvent.js create mode 100644 src/stage/StageEvent.js.map create mode 100644 src/stage/StageInstanceCreateEvent.d.ts create mode 100644 src/stage/StageInstanceCreateEvent.d.ts.map create mode 100644 src/stage/StageInstanceCreateEvent.js create mode 100644 src/stage/StageInstanceCreateEvent.js.map create mode 100644 src/stage/StageInstanceDeleteEvent.d.ts create mode 100644 src/stage/StageInstanceDeleteEvent.d.ts.map create mode 100644 src/stage/StageInstanceDeleteEvent.js create mode 100644 src/stage/StageInstanceDeleteEvent.js.map create mode 100644 src/stage/StageInstanceUpdateEvent.d.ts create mode 100644 src/stage/StageInstanceUpdateEvent.d.ts.map create mode 100644 src/stage/StageInstanceUpdateEvent.js create mode 100644 src/stage/StageInstanceUpdateEvent.js.map create mode 100644 src/stage/index.d.ts create mode 100644 src/stage/index.d.ts.map create mode 100644 src/stage/index.js create mode 100644 src/stage/index.js.map create mode 100644 src/thread/ThreadCreateEvent.d.ts create mode 100644 src/thread/ThreadCreateEvent.d.ts.map create mode 100644 src/thread/ThreadCreateEvent.js create mode 100644 src/thread/ThreadCreateEvent.js.map create mode 100644 src/thread/ThreadDeleteEvent.d.ts create mode 100644 src/thread/ThreadDeleteEvent.d.ts.map create mode 100644 src/thread/ThreadDeleteEvent.js create mode 100644 src/thread/ThreadDeleteEvent.js.map create mode 100644 src/thread/ThreadEvent.d.ts create mode 100644 src/thread/ThreadEvent.d.ts.map create mode 100644 src/thread/ThreadEvent.js create mode 100644 src/thread/ThreadEvent.js.map create mode 100644 src/thread/ThreadListSyncEvent.d.ts create mode 100644 src/thread/ThreadListSyncEvent.d.ts.map create mode 100644 src/thread/ThreadListSyncEvent.js create mode 100644 src/thread/ThreadListSyncEvent.js.map create mode 100644 src/thread/ThreadMemberUpdateEvent.d.ts create mode 100644 src/thread/ThreadMemberUpdateEvent.d.ts.map create mode 100644 src/thread/ThreadMemberUpdateEvent.js create mode 100644 src/thread/ThreadMemberUpdateEvent.js.map create mode 100644 src/thread/ThreadMembersUpdateEvent.d.ts create mode 100644 src/thread/ThreadMembersUpdateEvent.d.ts.map create mode 100644 src/thread/ThreadMembersUpdateEvent.js create mode 100644 src/thread/ThreadMembersUpdateEvent.js.map create mode 100644 src/thread/index.d.ts create mode 100644 src/thread/index.d.ts.map create mode 100644 src/thread/index.js create mode 100644 src/thread/index.js.map create mode 100644 src/user/PresenceUpdateEvent.d.ts create mode 100644 src/user/PresenceUpdateEvent.d.ts.map create mode 100644 src/user/PresenceUpdateEvent.js create mode 100644 src/user/PresenceUpdateEvent.js.map create mode 100644 src/user/TypingStartEvent.d.ts create mode 100644 src/user/TypingStartEvent.d.ts.map create mode 100644 src/user/TypingStartEvent.js create mode 100644 src/user/TypingStartEvent.js.map create mode 100644 src/user/UserUpdateEvent.d.ts create mode 100644 src/user/UserUpdateEvent.d.ts.map create mode 100644 src/user/UserUpdateEvent.js create mode 100644 src/user/UserUpdateEvent.js.map create mode 100644 src/user/index.d.ts create mode 100644 src/user/index.d.ts.map create mode 100644 src/user/index.js create mode 100644 src/user/index.js.map create mode 100644 src/voice/VoiceStateUpdateEvent.d.ts create mode 100644 src/voice/VoiceStateUpdateEvent.d.ts.map create mode 100644 src/voice/VoiceStateUpdateEvent.js create mode 100644 src/voice/VoiceStateUpdateEvent.js.map create mode 100644 src/voice/index.d.ts create mode 100644 src/voice/index.d.ts.map create mode 100644 src/voice/index.js create mode 100644 src/voice/index.js.map create mode 100644 src/webhooks/WebhooksUpdateEvent.d.ts create mode 100644 src/webhooks/WebhooksUpdateEvent.d.ts.map create mode 100644 src/webhooks/WebhooksUpdateEvent.js create mode 100644 src/webhooks/WebhooksUpdateEvent.js.map create mode 100644 src/webhooks/index.d.ts create mode 100644 src/webhooks/index.d.ts.map create mode 100644 src/webhooks/index.js create mode 100644 src/webhooks/index.js.map create mode 100644 tsconfig.json diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..8b02494 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,2 @@ +export * from "./src/index"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/index.d.ts.map b/index.d.ts.map new file mode 100644 index 0000000..1c125ef --- /dev/null +++ b/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"} \ No newline at end of file diff --git a/index.js b/index.js new file mode 100644 index 0000000..cf218f1 --- /dev/null +++ b/index.js @@ -0,0 +1,18 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./src/index"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/index.js.map b/index.js.map new file mode 100644 index 0000000..07d7416 --- /dev/null +++ b/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index f9defad..957f203 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,9 @@ "license": "GPL-3.0", "dependencies": { "discord.js": "^14.15.3" + }, + "devDependencies": { + "typescript": "^5.5.3" } }, "node_modules/@discordjs/builders": { @@ -246,6 +249,19 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, + "node_modules/typescript": { + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", + "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/undici": { "version": "6.13.0", "resolved": "https://registry.npmjs.org/undici/-/undici-6.13.0.tgz", diff --git a/package.json b/package.json index 41af72f..ef6eb5b 100644 --- a/package.json +++ b/package.json @@ -22,5 +22,8 @@ "homepage": "https://github.com/AuraTeamAZ/NexusEvents#readme", "dependencies": { "discord.js": "^14.15.3" + }, + "devDependencies": { + "typescript": "^5.5.3" } } diff --git a/src/Event.d.ts b/src/Event.d.ts new file mode 100644 index 0000000..5d00661 --- /dev/null +++ b/src/Event.d.ts @@ -0,0 +1,6 @@ +export declare class Event { + eventName: string; + constructor(eventName: string); + getEventName(): string; +} +//# sourceMappingURL=Event.d.ts.map \ No newline at end of file diff --git a/src/Event.d.ts.map b/src/Event.d.ts.map new file mode 100644 index 0000000..f843f37 --- /dev/null +++ b/src/Event.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["Event.ts"],"names":[],"mappings":"AAAA,qBAAa,KAAK;IACd,SAAS,EAAE,MAAM,CAAC;gBAEN,SAAS,EAAE,MAAM;IAI7B,YAAY,IAAI,MAAM;CAGzB"} \ No newline at end of file diff --git a/src/Event.js b/src/Event.js new file mode 100644 index 0000000..7595015 --- /dev/null +++ b/src/Event.js @@ -0,0 +1,13 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Event = void 0; +class Event { + constructor(eventName) { + this.eventName = eventName; + } + getEventName() { + return this.eventName; + } +} +exports.Event = Event; +//# sourceMappingURL=Event.js.map \ No newline at end of file diff --git a/src/Event.js.map b/src/Event.js.map new file mode 100644 index 0000000..fcb0600 --- /dev/null +++ b/src/Event.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Event.js","sourceRoot":"","sources":["Event.ts"],"names":[],"mappings":";;;AAAA,MAAa,KAAK;IAGd,YAAY,SAAiB;QACzB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAED,YAAY;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;CACJ;AAVD,sBAUC"} \ No newline at end of file diff --git a/src/Events.d.ts b/src/Events.d.ts new file mode 100644 index 0000000..fa15cfa --- /dev/null +++ b/src/Events.d.ts @@ -0,0 +1,81 @@ +export declare const Events: { + PluginEnable: string; + PluginDisable: string; + DataPacketReceive: string; + ApplicationCommandPermissionsUpdate: string; + AutoModerationActionExecution: string; + AutoModerationRuleCreate: string; + AutoModerationRuleDelete: string; + AutoModerationRuleUpdate: string; + ClientReady: string; + GuildAuditLogEntryCreate: string; + GuildAvailable: string; + GuildCreate: string; + GuildDelete: string; + GuildUpdate: string; + GuildUnavailable: string; + GuildMemberAdd: string; + GuildMemberRemove: string; + GuildMemberUpdate: string; + GuildMemberAvailable: string; + GuildMembersChunk: string; + GuildIntegrationsUpdate: string; + GuildRoleCreate: string; + GuildRoleDelete: string; + InviteCreate: string; + InviteDelete: string; + GuildRoleUpdate: string; + GuildEmojiCreate: string; + GuildEmojiDelete: string; + GuildEmojiUpdate: string; + GuildBanAdd: string; + GuildBanRemove: string; + ChannelCreate: string; + ChannelDelete: string; + ChannelUpdate: string; + ChannelPinsUpdate: string; + MessageCreate: string; + MessageDelete: string; + MessageUpdate: string; + MessageBulkDelete: string; + MessageReactionAdd: string; + MessageReactionRemove: string; + MessageReactionRemoveAll: string; + MessageReactionRemoveEmoji: string; + ThreadCreate: string; + ThreadDelete: string; + ThreadUpdate: string; + ThreadListSync: string; + ThreadMemberUpdate: string; + ThreadMembersUpdate: string; + UserUpdate: string; + PresenceUpdate: string; + VoiceServerUpdate: string; + VoiceStateUpdate: string; + TypingStart: string; + WebhooksUpdate: string; + InteractionCreate: string; + Error: string; + Warn: string; + Debug: string; + CacheSweep: string; + ShardDisconnect: string; + ShardError: string; + ShardReconnecting: string; + ShardReady: string; + ShardResume: string; + Invalidated: string; + Raw: string; + StageInstanceCreate: string; + StageInstanceUpdate: string; + StageInstanceDelete: string; + GuildStickerCreate: string; + GuildStickerDelete: string; + GuildStickerUpdate: string; + GuildScheduledEventCreate: string; + GuildScheduledEventUpdate: string; + GuildScheduledEventDelete: string; + GuildScheduledEventUserAdd: string; + GuildScheduledEventUserRemove: string; +}; +//# sourceMappingURL=Events.d.ts.map \ No newline at end of file diff --git a/src/Events.d.ts.map b/src/Events.d.ts.map new file mode 100644 index 0000000..b321886 --- /dev/null +++ b/src/Events.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"Events.d.ts","sourceRoot":"","sources":["Events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+ElB,CAAA"} \ No newline at end of file diff --git a/src/Events.js b/src/Events.js new file mode 100644 index 0000000..3424599 --- /dev/null +++ b/src/Events.js @@ -0,0 +1,84 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Events = void 0; +exports.Events = { + PluginEnable: "pluginEnable", + PluginDisable: "pluginDisable", + DataPacketReceive: "dataPacketReceive", + ApplicationCommandPermissionsUpdate: 'applicationCommandPermissionsUpdate', + AutoModerationActionExecution: 'autoModerationActionExecution', + AutoModerationRuleCreate: 'autoModerationRuleCreate', + AutoModerationRuleDelete: 'autoModerationRuleDelete', + AutoModerationRuleUpdate: 'autoModerationRuleUpdate', + ClientReady: 'ready', + GuildAuditLogEntryCreate: 'guildAuditLogEntryCreate', + GuildAvailable: 'guildAvailable', + GuildCreate: 'guildCreate', + GuildDelete: 'guildDelete', + GuildUpdate: 'guildUpdate', + GuildUnavailable: 'guildUnavailable', + GuildMemberAdd: 'guildMemberAdd', + GuildMemberRemove: 'guildMemberRemove', + GuildMemberUpdate: 'guildMemberUpdate', + GuildMemberAvailable: 'guildMemberAvailable', + GuildMembersChunk: 'guildMembersChunk', + GuildIntegrationsUpdate: 'guildIntegrationsUpdate', + GuildRoleCreate: 'roleCreate', + GuildRoleDelete: 'roleDelete', + InviteCreate: 'inviteCreate', + InviteDelete: 'inviteDelete', + GuildRoleUpdate: 'roleUpdate', + GuildEmojiCreate: 'emojiCreate', + GuildEmojiDelete: 'emojiDelete', + GuildEmojiUpdate: 'emojiUpdate', + GuildBanAdd: 'guildBanAdd', + GuildBanRemove: 'guildBanRemove', + ChannelCreate: 'channelCreate', + ChannelDelete: 'channelDelete', + ChannelUpdate: 'channelUpdate', + ChannelPinsUpdate: 'channelPinsUpdate', + MessageCreate: 'messageCreate', + MessageDelete: 'messageDelete', + MessageUpdate: 'messageUpdate', + MessageBulkDelete: 'messageDeleteBulk', + MessageReactionAdd: 'messageReactionAdd', + MessageReactionRemove: 'messageReactionRemove', + MessageReactionRemoveAll: 'messageReactionRemoveAll', + MessageReactionRemoveEmoji: 'messageReactionRemoveEmoji', + ThreadCreate: 'threadCreate', + ThreadDelete: 'threadDelete', + ThreadUpdate: 'threadUpdate', + ThreadListSync: 'threadListSync', + ThreadMemberUpdate: 'threadMemberUpdate', + ThreadMembersUpdate: 'threadMembersUpdate', + UserUpdate: 'userUpdate', + PresenceUpdate: 'presenceUpdate', + VoiceServerUpdate: 'voiceServerUpdate', + VoiceStateUpdate: 'voiceStateUpdate', + TypingStart: 'typingStart', + WebhooksUpdate: 'webhookUpdate', + InteractionCreate: 'interactionCreate', + Error: 'error', + Warn: 'warn', + Debug: 'debug', + CacheSweep: 'cacheSweep', + ShardDisconnect: 'shardDisconnect', + ShardError: 'shardError', + ShardReconnecting: 'shardReconnecting', + ShardReady: 'shardReady', + ShardResume: 'shardResume', + Invalidated: 'invalidated', + Raw: 'raw', + StageInstanceCreate: 'stageInstanceCreate', + StageInstanceUpdate: 'stageInstanceUpdate', + StageInstanceDelete: 'stageInstanceDelete', + GuildStickerCreate: 'stickerCreate', + GuildStickerDelete: 'stickerDelete', + GuildStickerUpdate: 'stickerUpdate', + GuildScheduledEventCreate: 'guildScheduledEventCreate', + GuildScheduledEventUpdate: 'guildScheduledEventUpdate', + GuildScheduledEventDelete: 'guildScheduledEventDelete', + GuildScheduledEventUserAdd: 'guildScheduledEventUserAdd', + GuildScheduledEventUserRemove: 'guildScheduledEventUserRemove' +}; +//# sourceMappingURL=Events.js.map \ No newline at end of file diff --git a/src/Events.js.map b/src/Events.js.map new file mode 100644 index 0000000..02c499b --- /dev/null +++ b/src/Events.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Events.js","sourceRoot":"","sources":["Events.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,mBAAmB;IACtC,mCAAmC,EAAE,qCAAqC;IAC1E,6BAA6B,EAAE,+BAA+B;IAC9D,wBAAwB,EAAE,0BAA0B;IACpD,wBAAwB,EAAE,0BAA0B;IACpD,wBAAwB,EAAE,0BAA0B;IACpD,WAAW,EAAE,OAAO;IACpB,wBAAwB,EAAE,0BAA0B;IACpD,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,gBAAgB,EAAE,kBAAkB;IACpC,cAAc,EAAE,gBAAgB;IAChC,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;IACtC,oBAAoB,EAAE,sBAAsB;IAC5C,iBAAiB,EAAE,mBAAmB;IACtC,uBAAuB,EAAE,yBAAyB;IAClD,eAAe,EAAE,YAAY;IAC7B,eAAe,EAAE,YAAY;IAC7B,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,YAAY;IAC7B,gBAAgB,EAAE,aAAa;IAC/B,gBAAgB,EAAE,aAAa;IAC/B,gBAAgB,EAAE,aAAa;IAC/B,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,mBAAmB;IACtC,kBAAkB,EAAE,oBAAoB;IACxC,qBAAqB,EAAE,uBAAuB;IAC9C,wBAAwB,EAAE,0BAA0B;IACpD,0BAA0B,EAAE,4BAA4B;IACxD,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,cAAc,EAAE,gBAAgB;IAChC,kBAAkB,EAAE,oBAAoB;IACxC,mBAAmB,EAAE,qBAAqB;IAC1C,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,gBAAgB;IAChC,iBAAiB,EAAE,mBAAmB;IACtC,gBAAgB,EAAE,kBAAkB;IACpC,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,eAAe;IAC/B,iBAAiB,EAAE,mBAAmB;IACtC,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,eAAe,EAAE,iBAAiB;IAClC,UAAU,EAAE,YAAY;IACxB,iBAAiB,EAAE,mBAAmB;IACtC,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,GAAG,EAAE,KAAK;IACV,mBAAmB,EAAE,qBAAqB;IAC1C,mBAAmB,EAAE,qBAAqB;IAC1C,mBAAmB,EAAE,qBAAqB;IAC1C,kBAAkB,EAAE,eAAe;IACnC,kBAAkB,EAAE,eAAe;IACnC,kBAAkB,EAAE,eAAe;IACnC,yBAAyB,EAAE,2BAA2B;IACtD,yBAAyB,EAAE,2BAA2B;IACtD,yBAAyB,EAAE,2BAA2B;IACtD,0BAA0B,EAAE,4BAA4B;IACxD,6BAA6B,EAAE,+BAA+B;CACjE,CAAA"} \ No newline at end of file diff --git a/src/Listener.d.ts b/src/Listener.d.ts new file mode 100644 index 0000000..9703472 --- /dev/null +++ b/src/Listener.d.ts @@ -0,0 +1,3 @@ +export declare class Listener { +} +//# sourceMappingURL=Listener.d.ts.map \ No newline at end of file diff --git a/src/Listener.d.ts.map b/src/Listener.d.ts.map new file mode 100644 index 0000000..7deb03d --- /dev/null +++ b/src/Listener.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"Listener.d.ts","sourceRoot":"","sources":["Listener.ts"],"names":[],"mappings":"AACA,qBAAa,QAAQ;CAEpB"} \ No newline at end of file diff --git a/src/Listener.js b/src/Listener.js new file mode 100644 index 0000000..f285629 --- /dev/null +++ b/src/Listener.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Listener = void 0; +class Listener { +} +exports.Listener = Listener; +//# sourceMappingURL=Listener.js.map \ No newline at end of file diff --git a/src/Listener.js.map b/src/Listener.js.map new file mode 100644 index 0000000..66fb590 --- /dev/null +++ b/src/Listener.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Listener.js","sourceRoot":"","sources":["Listener.ts"],"names":[],"mappings":";;;AACA,MAAa,QAAQ;CAEpB;AAFD,4BAEC"} \ No newline at end of file diff --git a/src/channel/ChannelCreateEvent.d.ts b/src/channel/ChannelCreateEvent.d.ts new file mode 100644 index 0000000..effebf8 --- /dev/null +++ b/src/channel/ChannelCreateEvent.d.ts @@ -0,0 +1,6 @@ +import { GuildChannel } from "discord.js"; +import { ChannelEvent } from "./ChannelEvent"; +export declare class ChannelCreateEvent extends ChannelEvent { + constructor(channel: GuildChannel); +} +//# sourceMappingURL=ChannelCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/channel/ChannelCreateEvent.d.ts.map b/src/channel/ChannelCreateEvent.d.ts.map new file mode 100644 index 0000000..3db9f84 --- /dev/null +++ b/src/channel/ChannelCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ChannelCreateEvent.d.ts","sourceRoot":"","sources":["ChannelCreateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,kBAAmB,SAAQ,YAAY;gBACpC,OAAO,EAAE,YAAY;CAGpC"} \ No newline at end of file diff --git a/src/channel/ChannelCreateEvent.js b/src/channel/ChannelCreateEvent.js new file mode 100644 index 0000000..3355953 --- /dev/null +++ b/src/channel/ChannelCreateEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ChannelCreateEvent = void 0; +const Events_1 = require("../Events"); +const ChannelEvent_1 = require("./ChannelEvent"); +class ChannelCreateEvent extends ChannelEvent_1.ChannelEvent { + constructor(channel) { + super(Events_1.Events.ChannelCreate, channel); + } +} +exports.ChannelCreateEvent = ChannelCreateEvent; +//# sourceMappingURL=ChannelCreateEvent.js.map \ No newline at end of file diff --git a/src/channel/ChannelCreateEvent.js.map b/src/channel/ChannelCreateEvent.js.map new file mode 100644 index 0000000..92557f5 --- /dev/null +++ b/src/channel/ChannelCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ChannelCreateEvent.js","sourceRoot":"","sources":["ChannelCreateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,iDAA8C;AAE9C,MAAa,kBAAmB,SAAQ,2BAAY;IAChD,YAAY,OAAqB;QAC7B,KAAK,CAAC,eAAM,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACzC,CAAC;CACJ;AAJD,gDAIC"} \ No newline at end of file diff --git a/src/channel/ChannelDeleteEvent.d.ts b/src/channel/ChannelDeleteEvent.d.ts new file mode 100644 index 0000000..2541268 --- /dev/null +++ b/src/channel/ChannelDeleteEvent.d.ts @@ -0,0 +1,6 @@ +import { DMChannel, GuildChannel } from "discord.js"; +import { ChannelEvent } from "./ChannelEvent"; +export declare class ChannelDeleteEvent extends ChannelEvent { + constructor(channel: GuildChannel | DMChannel); +} +//# sourceMappingURL=ChannelDeleteEvent.d.ts.map \ No newline at end of file diff --git a/src/channel/ChannelDeleteEvent.d.ts.map b/src/channel/ChannelDeleteEvent.d.ts.map new file mode 100644 index 0000000..d7bd4ff --- /dev/null +++ b/src/channel/ChannelDeleteEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ChannelDeleteEvent.d.ts","sourceRoot":"","sources":["ChannelDeleteEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,kBAAmB,SAAQ,YAAY;gBACpC,OAAO,EAAE,YAAY,GAAG,SAAS;CAGhD"} \ No newline at end of file diff --git a/src/channel/ChannelDeleteEvent.js b/src/channel/ChannelDeleteEvent.js new file mode 100644 index 0000000..68c2a4a --- /dev/null +++ b/src/channel/ChannelDeleteEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ChannelDeleteEvent = void 0; +const Events_1 = require("../Events"); +const ChannelEvent_1 = require("./ChannelEvent"); +class ChannelDeleteEvent extends ChannelEvent_1.ChannelEvent { + constructor(channel) { + super(Events_1.Events.ChannelDelete, channel); + } +} +exports.ChannelDeleteEvent = ChannelDeleteEvent; +//# sourceMappingURL=ChannelDeleteEvent.js.map \ No newline at end of file diff --git a/src/channel/ChannelDeleteEvent.js.map b/src/channel/ChannelDeleteEvent.js.map new file mode 100644 index 0000000..fcb817a --- /dev/null +++ b/src/channel/ChannelDeleteEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ChannelDeleteEvent.js","sourceRoot":"","sources":["ChannelDeleteEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,iDAA8C;AAE9C,MAAa,kBAAmB,SAAQ,2BAAY;IAChD,YAAY,OAAiC;QACzC,KAAK,CAAC,eAAM,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACzC,CAAC;CACJ;AAJD,gDAIC"} \ No newline at end of file diff --git a/src/channel/ChannelEvent.d.ts b/src/channel/ChannelEvent.d.ts new file mode 100644 index 0000000..0e3724d --- /dev/null +++ b/src/channel/ChannelEvent.d.ts @@ -0,0 +1,8 @@ +import { DMChannel, GuildChannel } from "discord.js"; +import { Event } from "../Event"; +export declare class ChannelEvent extends Event { + channel: GuildChannel | DMChannel; + constructor(eventName: string, channel: GuildChannel | DMChannel); + getChannel(): GuildChannel | DMChannel; +} +//# sourceMappingURL=ChannelEvent.d.ts.map \ No newline at end of file diff --git a/src/channel/ChannelEvent.d.ts.map b/src/channel/ChannelEvent.d.ts.map new file mode 100644 index 0000000..2b81674 --- /dev/null +++ b/src/channel/ChannelEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ChannelEvent.d.ts","sourceRoot":"","sources":["ChannelEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,qBAAa,YAAa,SAAQ,KAAK;IACnC,OAAO,EAAE,YAAY,GAAG,SAAS,CAAC;gBAEtB,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,GAAG,SAAS;IAKhE,UAAU,IAAI,YAAY,GAAG,SAAS;CAGzC"} \ No newline at end of file diff --git a/src/channel/ChannelEvent.js b/src/channel/ChannelEvent.js new file mode 100644 index 0000000..73f68b1 --- /dev/null +++ b/src/channel/ChannelEvent.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ChannelEvent = void 0; +const Event_1 = require("../Event"); +class ChannelEvent extends Event_1.Event { + constructor(eventName, channel) { + super(eventName); + this.channel = channel; + } + getChannel() { + return this.channel; + } +} +exports.ChannelEvent = ChannelEvent; +//# sourceMappingURL=ChannelEvent.js.map \ No newline at end of file diff --git a/src/channel/ChannelEvent.js.map b/src/channel/ChannelEvent.js.map new file mode 100644 index 0000000..a8ef0fc --- /dev/null +++ b/src/channel/ChannelEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ChannelEvent.js","sourceRoot":"","sources":["ChannelEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AAEjC,MAAa,YAAa,SAAQ,aAAK;IAGnC,YAAY,SAAiB,EAAE,OAAiC;QAC5D,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;CACJ;AAXD,oCAWC"} \ No newline at end of file diff --git a/src/channel/ChannelPinsUpdateEvent.d.ts b/src/channel/ChannelPinsUpdateEvent.d.ts new file mode 100644 index 0000000..82d8cb7 --- /dev/null +++ b/src/channel/ChannelPinsUpdateEvent.d.ts @@ -0,0 +1,8 @@ +import { GuildChannel } from "discord.js"; +import { ChannelEvent } from "./ChannelEvent"; +export declare class ChannelPinsUpdateEvent extends ChannelEvent { + time: Date; + constructor(channel: GuildChannel, time: Date); + getTime(): Date; +} +//# sourceMappingURL=ChannelPinsUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/channel/ChannelPinsUpdateEvent.d.ts.map b/src/channel/ChannelPinsUpdateEvent.d.ts.map new file mode 100644 index 0000000..6d07ac4 --- /dev/null +++ b/src/channel/ChannelPinsUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ChannelPinsUpdateEvent.d.ts","sourceRoot":"","sources":["ChannelPinsUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,sBAAuB,SAAQ,YAAY;IACpD,IAAI,EAAE,IAAI,CAAC;gBAEC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI;IAK7C,OAAO,IAAI,IAAI;CAGlB"} \ No newline at end of file diff --git a/src/channel/ChannelPinsUpdateEvent.js b/src/channel/ChannelPinsUpdateEvent.js new file mode 100644 index 0000000..2d82c02 --- /dev/null +++ b/src/channel/ChannelPinsUpdateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ChannelPinsUpdateEvent = void 0; +const Events_1 = require("../Events"); +const ChannelEvent_1 = require("./ChannelEvent"); +class ChannelPinsUpdateEvent extends ChannelEvent_1.ChannelEvent { + constructor(channel, time) { + super(Events_1.Events.ChannelPinsUpdate, channel); + this.time = time; + } + getTime() { + return this.time; + } +} +exports.ChannelPinsUpdateEvent = ChannelPinsUpdateEvent; +//# sourceMappingURL=ChannelPinsUpdateEvent.js.map \ No newline at end of file diff --git a/src/channel/ChannelPinsUpdateEvent.js.map b/src/channel/ChannelPinsUpdateEvent.js.map new file mode 100644 index 0000000..82d6111 --- /dev/null +++ b/src/channel/ChannelPinsUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ChannelPinsUpdateEvent.js","sourceRoot":"","sources":["ChannelPinsUpdateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,iDAA8C;AAE9C,MAAa,sBAAuB,SAAQ,2BAAY;IAGpD,YAAY,OAAqB,EAAE,IAAU;QACzC,KAAK,CAAC,eAAM,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;CACJ;AAXD,wDAWC"} \ No newline at end of file diff --git a/src/channel/ChannelUpdateEvent.d.ts b/src/channel/ChannelUpdateEvent.d.ts new file mode 100644 index 0000000..1fd20d1 --- /dev/null +++ b/src/channel/ChannelUpdateEvent.d.ts @@ -0,0 +1,8 @@ +import { DMChannel, GuildChannel } from "discord.js"; +import { ChannelEvent } from "./ChannelEvent"; +export declare class ChannelUpdateEvent extends ChannelEvent { + oldChannel: GuildChannel | DMChannel; + constructor(oldChannel: GuildChannel | DMChannel, newChannel: GuildChannel | DMChannel); + getOldChannel(): GuildChannel | DMChannel; +} +//# sourceMappingURL=ChannelUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/channel/ChannelUpdateEvent.d.ts.map b/src/channel/ChannelUpdateEvent.d.ts.map new file mode 100644 index 0000000..a995dc4 --- /dev/null +++ b/src/channel/ChannelUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ChannelUpdateEvent.d.ts","sourceRoot":"","sources":["ChannelUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,kBAAmB,SAAQ,YAAY;IAChD,UAAU,EAAE,YAAY,GAAG,SAAS,CAAC;gBAEzB,UAAU,EAAE,YAAY,GAAG,SAAS,EAAE,UAAU,EAAE,YAAY,GAAG,SAAS;IAKtF,aAAa,IAAI,YAAY,GAAG,SAAS;CAG5C"} \ No newline at end of file diff --git a/src/channel/ChannelUpdateEvent.js b/src/channel/ChannelUpdateEvent.js new file mode 100644 index 0000000..2da4a82 --- /dev/null +++ b/src/channel/ChannelUpdateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ChannelUpdateEvent = void 0; +const Events_1 = require("../Events"); +const ChannelEvent_1 = require("./ChannelEvent"); +class ChannelUpdateEvent extends ChannelEvent_1.ChannelEvent { + constructor(oldChannel, newChannel) { + super(Events_1.Events.ChannelUpdate, newChannel); + this.oldChannel = oldChannel; + } + getOldChannel() { + return this.oldChannel; + } +} +exports.ChannelUpdateEvent = ChannelUpdateEvent; +//# sourceMappingURL=ChannelUpdateEvent.js.map \ No newline at end of file diff --git a/src/channel/ChannelUpdateEvent.js.map b/src/channel/ChannelUpdateEvent.js.map new file mode 100644 index 0000000..33a72e8 --- /dev/null +++ b/src/channel/ChannelUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ChannelUpdateEvent.js","sourceRoot":"","sources":["ChannelUpdateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,iDAA8C;AAE9C,MAAa,kBAAmB,SAAQ,2BAAY;IAGhD,YAAY,UAAoC,EAAE,UAAoC;QAClF,KAAK,CAAC,eAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;QACxC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC;IAED,aAAa;QACT,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;CACJ;AAXD,gDAWC"} \ No newline at end of file diff --git a/src/channel/index.d.ts b/src/channel/index.d.ts new file mode 100644 index 0000000..67d45ad --- /dev/null +++ b/src/channel/index.d.ts @@ -0,0 +1,6 @@ +export * from "./ChannelCreateEvent"; +export * from "./ChannelDeleteEvent"; +export * from "./ChannelPinsUpdateEvent"; +export * from "./ChannelUpdateEvent"; +export * from "./ChannelEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/channel/index.d.ts.map b/src/channel/index.d.ts.map new file mode 100644 index 0000000..84de2a9 --- /dev/null +++ b/src/channel/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA"} \ No newline at end of file diff --git a/src/channel/index.js b/src/channel/index.js new file mode 100644 index 0000000..95a0eb6 --- /dev/null +++ b/src/channel/index.js @@ -0,0 +1,22 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./ChannelCreateEvent"), exports); +__exportStar(require("./ChannelDeleteEvent"), exports); +__exportStar(require("./ChannelPinsUpdateEvent"), exports); +__exportStar(require("./ChannelUpdateEvent"), exports); +__exportStar(require("./ChannelEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/channel/index.js.map b/src/channel/index.js.map new file mode 100644 index 0000000..4bd1628 --- /dev/null +++ b/src/channel/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,uDAAoC;AACpC,2DAAwC;AACxC,uDAAoC;AACpC,iDAA8B"} \ No newline at end of file diff --git a/src/client/ClientEvent.d.ts b/src/client/ClientEvent.d.ts new file mode 100644 index 0000000..bdd461b --- /dev/null +++ b/src/client/ClientEvent.d.ts @@ -0,0 +1,14 @@ +import { Client } from "discord.js"; +import { Event } from "../Event"; +export declare class ClientEvent extends Event { + client: Client; + /** + * @param {Client} client + */ + constructor(eventName: string, client: Client); + /** + * @returns {Client} + */ + getClient(): Client; +} +//# sourceMappingURL=ClientEvent.d.ts.map \ No newline at end of file diff --git a/src/client/ClientEvent.d.ts.map b/src/client/ClientEvent.d.ts.map new file mode 100644 index 0000000..95b5f52 --- /dev/null +++ b/src/client/ClientEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ClientEvent.d.ts","sourceRoot":"","sources":["ClientEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,qBAAa,WAAY,SAAQ,KAAK;IAElC,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;gBACS,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAK7C;;OAEG;IACH,SAAS,IAAI,MAAM;CAGtB"} \ No newline at end of file diff --git a/src/client/ClientEvent.js b/src/client/ClientEvent.js new file mode 100644 index 0000000..0500754 --- /dev/null +++ b/src/client/ClientEvent.js @@ -0,0 +1,21 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ClientEvent = void 0; +const Event_1 = require("../Event"); +class ClientEvent extends Event_1.Event { + /** + * @param {Client} client + */ + constructor(eventName, client) { + super(eventName); + this.client = client; + } + /** + * @returns {Client} + */ + getClient() { + return this.client; + } +} +exports.ClientEvent = ClientEvent; +//# sourceMappingURL=ClientEvent.js.map \ No newline at end of file diff --git a/src/client/ClientEvent.js.map b/src/client/ClientEvent.js.map new file mode 100644 index 0000000..e1d5374 --- /dev/null +++ b/src/client/ClientEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ClientEvent.js","sourceRoot":"","sources":["ClientEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AAEjC,MAAa,WAAY,SAAQ,aAAK;IAIlC;;OAEG;IACH,YAAY,SAAiB,EAAE,MAAc;QACzC,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,SAAS;QACL,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;CACJ;AAlBD,kCAkBC"} \ No newline at end of file diff --git a/src/client/ClientReadyEvent.d.ts b/src/client/ClientReadyEvent.d.ts new file mode 100644 index 0000000..1edceca --- /dev/null +++ b/src/client/ClientReadyEvent.d.ts @@ -0,0 +1,6 @@ +import { Client } from "discord.js"; +import { ClientEvent } from "./ClientEvent"; +export declare class ClientReadyEvent extends ClientEvent { + constructor(client: Client); +} +//# sourceMappingURL=ClientReadyEvent.d.ts.map \ No newline at end of file diff --git a/src/client/ClientReadyEvent.d.ts.map b/src/client/ClientReadyEvent.d.ts.map new file mode 100644 index 0000000..b305ab4 --- /dev/null +++ b/src/client/ClientReadyEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ClientReadyEvent.d.ts","sourceRoot":"","sources":["ClientReadyEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,gBAAiB,SAAQ,WAAW;gBACjC,MAAM,EAAE,MAAM;CAG7B"} \ No newline at end of file diff --git a/src/client/ClientReadyEvent.js b/src/client/ClientReadyEvent.js new file mode 100644 index 0000000..88d71d0 --- /dev/null +++ b/src/client/ClientReadyEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ClientReadyEvent = void 0; +const Events_1 = require("../Events"); +const ClientEvent_1 = require("./ClientEvent"); +class ClientReadyEvent extends ClientEvent_1.ClientEvent { + constructor(client) { + super(Events_1.Events.ClientReady, client); + } +} +exports.ClientReadyEvent = ClientReadyEvent; +//# sourceMappingURL=ClientReadyEvent.js.map \ No newline at end of file diff --git a/src/client/ClientReadyEvent.js.map b/src/client/ClientReadyEvent.js.map new file mode 100644 index 0000000..809a24c --- /dev/null +++ b/src/client/ClientReadyEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ClientReadyEvent.js","sourceRoot":"","sources":["ClientReadyEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,+CAA4C;AAE5C,MAAa,gBAAiB,SAAQ,yBAAW;IAC7C,YAAY,MAAc;QACtB,KAAK,CAAC,eAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IACtC,CAAC;CACJ;AAJD,4CAIC"} \ No newline at end of file diff --git a/src/client/index.d.ts b/src/client/index.d.ts new file mode 100644 index 0000000..6430a86 --- /dev/null +++ b/src/client/index.d.ts @@ -0,0 +1,3 @@ +export * from "./ClientReadyEvent"; +export * from "./ClientEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/client/index.d.ts.map b/src/client/index.d.ts.map new file mode 100644 index 0000000..af27ab8 --- /dev/null +++ b/src/client/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA"} \ No newline at end of file diff --git a/src/client/index.js b/src/client/index.js new file mode 100644 index 0000000..04aa0b5 --- /dev/null +++ b/src/client/index.js @@ -0,0 +1,19 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./ClientReadyEvent"), exports); +__exportStar(require("./ClientEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/client/index.js.map b/src/client/index.js.map new file mode 100644 index 0000000..b58b237 --- /dev/null +++ b/src/client/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,gDAA6B"} \ No newline at end of file diff --git a/src/guild/GuildAuditLogEntryCreateEvent.d.ts b/src/guild/GuildAuditLogEntryCreateEvent.d.ts new file mode 100644 index 0000000..dc79f11 --- /dev/null +++ b/src/guild/GuildAuditLogEntryCreateEvent.d.ts @@ -0,0 +1,17 @@ +import { Guild, GuildAuditLogsEntry } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildAuditLogEntryCreateEvent extends GuildEvent { + auditLogEntry: GuildAuditLogsEntry; + guild: Guild; + /** + * + * @param {GuildAuditLogsEntry} auditLogEntry + * @param {Guild} guild + */ + constructor(auditLogEntry: GuildAuditLogsEntry, guild: Guild); + /** + * @returns {GuildAuditLogsEntry} + */ + getAuditLogEntry(): GuildAuditLogsEntry; +} +//# sourceMappingURL=GuildAuditLogEntryCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildAuditLogEntryCreateEvent.d.ts.map b/src/guild/GuildAuditLogEntryCreateEvent.d.ts.map new file mode 100644 index 0000000..5bf781c --- /dev/null +++ b/src/guild/GuildAuditLogEntryCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildAuditLogEntryCreateEvent.d.ts","sourceRoot":"","sources":["GuildAuditLogEntryCreateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,6BAA8B,SAAQ,UAAU;IAEzD,aAAa,EAAE,mBAAmB,CAAC;IACnC,KAAK,EAAE,KAAK,CAAC;IAEb;;;;OAIG;gBACS,aAAa,EAAE,mBAAmB,EAAE,KAAK,EAAE,KAAK;IAK5D;;OAEG;IACH,gBAAgB,IAAI,mBAAmB;CAG1C"} \ No newline at end of file diff --git a/src/guild/GuildAuditLogEntryCreateEvent.js b/src/guild/GuildAuditLogEntryCreateEvent.js new file mode 100644 index 0000000..c8c099c --- /dev/null +++ b/src/guild/GuildAuditLogEntryCreateEvent.js @@ -0,0 +1,24 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildAuditLogEntryCreateEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildAuditLogEntryCreateEvent extends GuildEvent_1.GuildEvent { + /** + * + * @param {GuildAuditLogsEntry} auditLogEntry + * @param {Guild} guild + */ + constructor(auditLogEntry, guild) { + super(Events_1.Events.GuildCreate, guild); + this.auditLogEntry = auditLogEntry; + } + /** + * @returns {GuildAuditLogsEntry} + */ + getAuditLogEntry() { + return this.auditLogEntry; + } +} +exports.GuildAuditLogEntryCreateEvent = GuildAuditLogEntryCreateEvent; +//# sourceMappingURL=GuildAuditLogEntryCreateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildAuditLogEntryCreateEvent.js.map b/src/guild/GuildAuditLogEntryCreateEvent.js.map new file mode 100644 index 0000000..72f179b --- /dev/null +++ b/src/guild/GuildAuditLogEntryCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildAuditLogEntryCreateEvent.js","sourceRoot":"","sources":["GuildAuditLogEntryCreateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,6BAA8B,SAAQ,uBAAU;IAKzD;;;;OAIG;IACH,YAAY,aAAkC,EAAE,KAAY;QACxD,KAAK,CAAC,eAAM,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAED;;OAEG;IACH,gBAAgB;QACZ,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;CACJ;AArBD,sEAqBC"} \ No newline at end of file diff --git a/src/guild/GuildAvailableEvent.d.ts b/src/guild/GuildAvailableEvent.d.ts new file mode 100644 index 0000000..121f1ce --- /dev/null +++ b/src/guild/GuildAvailableEvent.d.ts @@ -0,0 +1,6 @@ +import { Guild } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildAvailableEvent extends GuildEvent { + constructor(guild: Guild); +} +//# sourceMappingURL=GuildAvailableEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildAvailableEvent.d.ts.map b/src/guild/GuildAvailableEvent.d.ts.map new file mode 100644 index 0000000..1ef3c74 --- /dev/null +++ b/src/guild/GuildAvailableEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildAvailableEvent.d.ts","sourceRoot":"","sources":["GuildAvailableEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,mBAAoB,SAAQ,UAAU;gBACnC,KAAK,EAAE,KAAK;CAG3B"} \ No newline at end of file diff --git a/src/guild/GuildAvailableEvent.js b/src/guild/GuildAvailableEvent.js new file mode 100644 index 0000000..c16824b --- /dev/null +++ b/src/guild/GuildAvailableEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildAvailableEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildAvailableEvent extends GuildEvent_1.GuildEvent { + constructor(guild) { + super(Events_1.Events.GuildAvailable, guild); + } +} +exports.GuildAvailableEvent = GuildAvailableEvent; +//# sourceMappingURL=GuildAvailableEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildAvailableEvent.js.map b/src/guild/GuildAvailableEvent.js.map new file mode 100644 index 0000000..148b230 --- /dev/null +++ b/src/guild/GuildAvailableEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildAvailableEvent.js","sourceRoot":"","sources":["GuildAvailableEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,mBAAoB,SAAQ,uBAAU;IAC/C,YAAY,KAAY;QACpB,KAAK,CAAC,eAAM,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;IACxC,CAAC;CACJ;AAJD,kDAIC"} \ No newline at end of file diff --git a/src/guild/GuildBanAddEvent.d.ts b/src/guild/GuildBanAddEvent.d.ts new file mode 100644 index 0000000..32b9b4d --- /dev/null +++ b/src/guild/GuildBanAddEvent.d.ts @@ -0,0 +1,8 @@ +import { GuildBan } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildBanAddEvent extends GuildEvent { + guildBan: GuildBan; + constructor(guildBan: GuildBan); + getGuildBan(): GuildBan; +} +//# sourceMappingURL=GuildBanAddEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildBanAddEvent.d.ts.map b/src/guild/GuildBanAddEvent.d.ts.map new file mode 100644 index 0000000..76cd4d9 --- /dev/null +++ b/src/guild/GuildBanAddEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildBanAddEvent.d.ts","sourceRoot":"","sources":["GuildBanAddEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,gBAAiB,SAAQ,UAAU;IAE5C,QAAQ,EAAE,QAAQ,CAAC;gBAEP,QAAQ,EAAE,QAAQ;IAK9B,WAAW,IAAI,QAAQ;CAG1B"} \ No newline at end of file diff --git a/src/guild/GuildBanAddEvent.js b/src/guild/GuildBanAddEvent.js new file mode 100644 index 0000000..6f5cf84 --- /dev/null +++ b/src/guild/GuildBanAddEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildBanAddEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildBanAddEvent extends GuildEvent_1.GuildEvent { + constructor(guildBan) { + super(Events_1.Events.GuildBanAdd, guildBan.guild); + this.guildBan = guildBan; + } + getGuildBan() { + return this.guildBan; + } +} +exports.GuildBanAddEvent = GuildBanAddEvent; +//# sourceMappingURL=GuildBanAddEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildBanAddEvent.js.map b/src/guild/GuildBanAddEvent.js.map new file mode 100644 index 0000000..68512d0 --- /dev/null +++ b/src/guild/GuildBanAddEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildBanAddEvent.js","sourceRoot":"","sources":["GuildBanAddEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,gBAAiB,SAAQ,uBAAU;IAI5C,YAAY,QAAkB;QAC1B,KAAK,CAAC,eAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC1C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,WAAW;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;CACJ;AAZD,4CAYC"} \ No newline at end of file diff --git a/src/guild/GuildBanRemoveEvent.d.ts b/src/guild/GuildBanRemoveEvent.d.ts new file mode 100644 index 0000000..fd976b2 --- /dev/null +++ b/src/guild/GuildBanRemoveEvent.d.ts @@ -0,0 +1,14 @@ +import { GuildBan } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildBanRemoveEvent extends GuildEvent { + guildBan: GuildBan; + /** + * @param {GuildBan} guildBan + */ + constructor(guildBan: GuildBan); + /** + * @returns {GuildBan} + */ + getGuildBan(): GuildBan; +} +//# sourceMappingURL=GuildBanRemoveEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildBanRemoveEvent.d.ts.map b/src/guild/GuildBanRemoveEvent.d.ts.map new file mode 100644 index 0000000..fc78b77 --- /dev/null +++ b/src/guild/GuildBanRemoveEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildBanRemoveEvent.d.ts","sourceRoot":"","sources":["GuildBanRemoveEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,mBAAoB,SAAQ,UAAU;IAE/C,QAAQ,EAAE,QAAQ,CAAC;IACnB;;OAEG;gBACS,QAAQ,EAAE,QAAQ;IAK9B;;OAEG;IACH,WAAW,IAAI,QAAQ;CAG1B"} \ No newline at end of file diff --git a/src/guild/GuildBanRemoveEvent.js b/src/guild/GuildBanRemoveEvent.js new file mode 100644 index 0000000..250dc02 --- /dev/null +++ b/src/guild/GuildBanRemoveEvent.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildBanRemoveEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildBanRemoveEvent extends GuildEvent_1.GuildEvent { + /** + * @param {GuildBan} guildBan + */ + constructor(guildBan) { + super(Events_1.Events.GuildBanRemove, guildBan.guild); + this.guildBan = guildBan; + } + /** + * @returns {GuildBan} + */ + getGuildBan() { + return this.guildBan; + } +} +exports.GuildBanRemoveEvent = GuildBanRemoveEvent; +//# sourceMappingURL=GuildBanRemoveEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildBanRemoveEvent.js.map b/src/guild/GuildBanRemoveEvent.js.map new file mode 100644 index 0000000..b76f121 --- /dev/null +++ b/src/guild/GuildBanRemoveEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildBanRemoveEvent.js","sourceRoot":"","sources":["GuildBanRemoveEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,mBAAoB,SAAQ,uBAAU;IAG/C;;OAEG;IACH,YAAY,QAAkB;QAC1B,KAAK,CAAC,eAAM,CAAC,cAAc,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC7C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,WAAW;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;CACJ;AAjBD,kDAiBC"} \ No newline at end of file diff --git a/src/guild/GuildCreateEvent.d.ts b/src/guild/GuildCreateEvent.d.ts new file mode 100644 index 0000000..c32005c --- /dev/null +++ b/src/guild/GuildCreateEvent.d.ts @@ -0,0 +1,6 @@ +import { Guild } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildCreateEvent extends GuildEvent { + constructor(guild: Guild); +} +//# sourceMappingURL=GuildCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildCreateEvent.d.ts.map b/src/guild/GuildCreateEvent.d.ts.map new file mode 100644 index 0000000..cb460b2 --- /dev/null +++ b/src/guild/GuildCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildCreateEvent.d.ts","sourceRoot":"","sources":["GuildCreateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,gBAAiB,SAAQ,UAAU;gBAChC,KAAK,EAAE,KAAK;CAG3B"} \ No newline at end of file diff --git a/src/guild/GuildCreateEvent.js b/src/guild/GuildCreateEvent.js new file mode 100644 index 0000000..95ea5f0 --- /dev/null +++ b/src/guild/GuildCreateEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildCreateEvent = void 0; +const Events_js_1 = require("../Events.js"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildCreateEvent extends GuildEvent_1.GuildEvent { + constructor(guild) { + super(Events_js_1.Events.GuildCreate, guild); + } +} +exports.GuildCreateEvent = GuildCreateEvent; +//# sourceMappingURL=GuildCreateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildCreateEvent.js.map b/src/guild/GuildCreateEvent.js.map new file mode 100644 index 0000000..3434f3d --- /dev/null +++ b/src/guild/GuildCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildCreateEvent.js","sourceRoot":"","sources":["GuildCreateEvent.ts"],"names":[],"mappings":";;;AACA,4CAAsC;AACtC,6CAA0C;AAE1C,MAAa,gBAAiB,SAAQ,uBAAU;IAC5C,YAAY,KAAY;QACpB,KAAK,CAAC,kBAAM,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;IACrC,CAAC;CACJ;AAJD,4CAIC"} \ No newline at end of file diff --git a/src/guild/GuildEmojiCreateEvent.d.ts b/src/guild/GuildEmojiCreateEvent.d.ts new file mode 100644 index 0000000..f2fe9ef --- /dev/null +++ b/src/guild/GuildEmojiCreateEvent.d.ts @@ -0,0 +1,8 @@ +import { GuildEmoji } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildEmojiCreateEvent extends GuildEvent { + emoji: GuildEmoji; + constructor(emoji: GuildEmoji); + getEmoji(): GuildEmoji; +} +//# sourceMappingURL=GuildEmojiCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildEmojiCreateEvent.d.ts.map b/src/guild/GuildEmojiCreateEvent.d.ts.map new file mode 100644 index 0000000..5a670c8 --- /dev/null +++ b/src/guild/GuildEmojiCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildEmojiCreateEvent.d.ts","sourceRoot":"","sources":["GuildEmojiCreateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,qBAAsB,SAAQ,UAAU;IACjD,KAAK,EAAE,UAAU,CAAC;gBAEN,KAAK,EAAE,UAAU;IAK7B,QAAQ,IAAI,UAAU;CAGzB"} \ No newline at end of file diff --git a/src/guild/GuildEmojiCreateEvent.js b/src/guild/GuildEmojiCreateEvent.js new file mode 100644 index 0000000..d0ce539 --- /dev/null +++ b/src/guild/GuildEmojiCreateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildEmojiCreateEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildEmojiCreateEvent extends GuildEvent_1.GuildEvent { + constructor(emoji) { + super(Events_1.Events.GuildEmojiCreate, emoji.guild); + this.emoji = emoji; + } + getEmoji() { + return this.emoji; + } +} +exports.GuildEmojiCreateEvent = GuildEmojiCreateEvent; +//# sourceMappingURL=GuildEmojiCreateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildEmojiCreateEvent.js.map b/src/guild/GuildEmojiCreateEvent.js.map new file mode 100644 index 0000000..c1b0b23 --- /dev/null +++ b/src/guild/GuildEmojiCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildEmojiCreateEvent.js","sourceRoot":"","sources":["GuildEmojiCreateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,qBAAsB,SAAQ,uBAAU;IAGjD,YAAY,KAAiB;QACzB,KAAK,CAAC,eAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;QAC5C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;CACJ;AAXD,sDAWC"} \ No newline at end of file diff --git a/src/guild/GuildEmojiDeleteEvent.d.ts b/src/guild/GuildEmojiDeleteEvent.d.ts new file mode 100644 index 0000000..865ae30 --- /dev/null +++ b/src/guild/GuildEmojiDeleteEvent.d.ts @@ -0,0 +1,8 @@ +import { GuildEmoji } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildEmojiDeleteEvent extends GuildEvent { + emoji: GuildEmoji; + constructor(emoji: GuildEmoji); + getEmoji(): GuildEmoji; +} +//# sourceMappingURL=GuildEmojiDeleteEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildEmojiDeleteEvent.d.ts.map b/src/guild/GuildEmojiDeleteEvent.d.ts.map new file mode 100644 index 0000000..98c9175 --- /dev/null +++ b/src/guild/GuildEmojiDeleteEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildEmojiDeleteEvent.d.ts","sourceRoot":"","sources":["GuildEmojiDeleteEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,qBAAsB,SAAQ,UAAU;IACjD,KAAK,EAAE,UAAU,CAAC;gBAEN,KAAK,EAAE,UAAU;IAK7B,QAAQ,IAAI,UAAU;CAGzB"} \ No newline at end of file diff --git a/src/guild/GuildEmojiDeleteEvent.js b/src/guild/GuildEmojiDeleteEvent.js new file mode 100644 index 0000000..b798177 --- /dev/null +++ b/src/guild/GuildEmojiDeleteEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildEmojiDeleteEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildEmojiDeleteEvent extends GuildEvent_1.GuildEvent { + constructor(emoji) { + super(Events_1.Events.GuildEmojiDelete, emoji.guild); + this.emoji = emoji; + } + getEmoji() { + return this.emoji; + } +} +exports.GuildEmojiDeleteEvent = GuildEmojiDeleteEvent; +//# sourceMappingURL=GuildEmojiDeleteEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildEmojiDeleteEvent.js.map b/src/guild/GuildEmojiDeleteEvent.js.map new file mode 100644 index 0000000..091114f --- /dev/null +++ b/src/guild/GuildEmojiDeleteEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildEmojiDeleteEvent.js","sourceRoot":"","sources":["GuildEmojiDeleteEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,qBAAsB,SAAQ,uBAAU;IAGjD,YAAY,KAAiB;QACzB,KAAK,CAAC,eAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;QAC5C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;CACJ;AAXD,sDAWC"} \ No newline at end of file diff --git a/src/guild/GuildEmojiUpdateEvent.d.ts b/src/guild/GuildEmojiUpdateEvent.d.ts new file mode 100644 index 0000000..1ad3cda --- /dev/null +++ b/src/guild/GuildEmojiUpdateEvent.d.ts @@ -0,0 +1,10 @@ +import { GuildEmoji } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildEmojiUpdateEvent extends GuildEvent { + oldEmoji: GuildEmoji; + newEmoji: GuildEmoji; + constructor(oldEmoji: GuildEmoji, newEmoji: GuildEmoji); + getOldEmoji(): GuildEmoji; + getNewEmoji(): GuildEmoji; +} +//# sourceMappingURL=GuildEmojiUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildEmojiUpdateEvent.d.ts.map b/src/guild/GuildEmojiUpdateEvent.d.ts.map new file mode 100644 index 0000000..ade601f --- /dev/null +++ b/src/guild/GuildEmojiUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildEmojiUpdateEvent.d.ts","sourceRoot":"","sources":["GuildEmojiUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,qBAAa,qBAAsB,SAAQ,UAAU;IACjD,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;gBAET,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU;IAMtD,WAAW,IAAI,UAAU;IAIzB,WAAW,IAAI,UAAU;CAG5B"} \ No newline at end of file diff --git a/src/guild/GuildEmojiUpdateEvent.js b/src/guild/GuildEmojiUpdateEvent.js new file mode 100644 index 0000000..01e9af9 --- /dev/null +++ b/src/guild/GuildEmojiUpdateEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildEmojiUpdateEvent = void 0; +const GuildEvent_1 = require("./GuildEvent"); +const Events_1 = require("../Events"); +class GuildEmojiUpdateEvent extends GuildEvent_1.GuildEvent { + constructor(oldEmoji, newEmoji) { + super(Events_1.Events.GuildEmojiUpdate, newEmoji.guild); + this.oldEmoji = oldEmoji; + this.newEmoji = newEmoji; + } + getOldEmoji() { + return this.oldEmoji; + } + getNewEmoji() { + return this.newEmoji; + } +} +exports.GuildEmojiUpdateEvent = GuildEmojiUpdateEvent; +//# sourceMappingURL=GuildEmojiUpdateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildEmojiUpdateEvent.js.map b/src/guild/GuildEmojiUpdateEvent.js.map new file mode 100644 index 0000000..b81071e --- /dev/null +++ b/src/guild/GuildEmojiUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildEmojiUpdateEvent.js","sourceRoot":"","sources":["GuildEmojiUpdateEvent.ts"],"names":[],"mappings":";;;AACA,6CAA0C;AAC1C,sCAAmC;AAEnC,MAAa,qBAAsB,SAAQ,uBAAU;IAIjD,YAAY,QAAoB,EAAE,QAAoB;QAClD,KAAK,CAAC,eAAM,CAAC,gBAAgB,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC/C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,WAAW;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAED,WAAW;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;CACJ;AAjBD,sDAiBC"} \ No newline at end of file diff --git a/src/guild/GuildEvent.d.ts b/src/guild/GuildEvent.d.ts new file mode 100644 index 0000000..8da8107 --- /dev/null +++ b/src/guild/GuildEvent.d.ts @@ -0,0 +1,15 @@ +import { Guild } from "discord.js"; +import { Event } from "../Event.js"; +export declare class GuildEvent extends Event { + guild: Guild | null; + /** + * @param {string} eventName + * @param {Guild} guild + */ + constructor(eventName: string, guild: Guild | null); + /** + * @returns {Guild} + */ + getGuild(): Guild | null; +} +//# sourceMappingURL=GuildEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildEvent.d.ts.map b/src/guild/GuildEvent.d.ts.map new file mode 100644 index 0000000..047baee --- /dev/null +++ b/src/guild/GuildEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildEvent.d.ts","sourceRoot":"","sources":["GuildEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,qBAAa,UAAW,SAAQ,KAAK;IACjC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAEpB;;;OAGG;gBACS,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI;IAKlD;;OAEG;IACH,QAAQ,IAAI,KAAK,GAAG,IAAI;CAG3B"} \ No newline at end of file diff --git a/src/guild/GuildEvent.js b/src/guild/GuildEvent.js new file mode 100644 index 0000000..f1c3bc6 --- /dev/null +++ b/src/guild/GuildEvent.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildEvent = void 0; +const Event_js_1 = require("../Event.js"); +class GuildEvent extends Event_js_1.Event { + /** + * @param {string} eventName + * @param {Guild} guild + */ + constructor(eventName, guild) { + super(eventName); + this.guild = guild; + } + /** + * @returns {Guild} + */ + getGuild() { + return this.guild; + } +} +exports.GuildEvent = GuildEvent; +//# sourceMappingURL=GuildEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildEvent.js.map b/src/guild/GuildEvent.js.map new file mode 100644 index 0000000..3a4c278 --- /dev/null +++ b/src/guild/GuildEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildEvent.js","sourceRoot":"","sources":["GuildEvent.ts"],"names":[],"mappings":";;;AACA,0CAAoC;AAEpC,MAAa,UAAW,SAAQ,gBAAK;IAGjC;;;OAGG;IACH,YAAY,SAAiB,EAAE,KAAmB;QAC9C,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;CACJ;AAlBD,gCAkBC"} \ No newline at end of file diff --git a/src/guild/GuildIntegrationsUpdateEvent.d.ts b/src/guild/GuildIntegrationsUpdateEvent.d.ts new file mode 100644 index 0000000..efd8b2a --- /dev/null +++ b/src/guild/GuildIntegrationsUpdateEvent.d.ts @@ -0,0 +1,6 @@ +import { Guild } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildIntegrationsUpdateEvent extends GuildEvent { + constructor(guild: Guild); +} +//# sourceMappingURL=GuildIntegrationsUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildIntegrationsUpdateEvent.d.ts.map b/src/guild/GuildIntegrationsUpdateEvent.d.ts.map new file mode 100644 index 0000000..e2e69e4 --- /dev/null +++ b/src/guild/GuildIntegrationsUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildIntegrationsUpdateEvent.d.ts","sourceRoot":"","sources":["GuildIntegrationsUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,4BAA6B,SAAQ,UAAU;gBAC5C,KAAK,EAAE,KAAK;CAG3B"} \ No newline at end of file diff --git a/src/guild/GuildIntegrationsUpdateEvent.js b/src/guild/GuildIntegrationsUpdateEvent.js new file mode 100644 index 0000000..56cb70c --- /dev/null +++ b/src/guild/GuildIntegrationsUpdateEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildIntegrationsUpdateEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildIntegrationsUpdateEvent extends GuildEvent_1.GuildEvent { + constructor(guild) { + super(Events_1.Events.GuildIntegrationsUpdate, guild); + } +} +exports.GuildIntegrationsUpdateEvent = GuildIntegrationsUpdateEvent; +//# sourceMappingURL=GuildIntegrationsUpdateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildIntegrationsUpdateEvent.js.map b/src/guild/GuildIntegrationsUpdateEvent.js.map new file mode 100644 index 0000000..1dc0cd4 --- /dev/null +++ b/src/guild/GuildIntegrationsUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildIntegrationsUpdateEvent.js","sourceRoot":"","sources":["GuildIntegrationsUpdateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,4BAA6B,SAAQ,uBAAU;IACxD,YAAY,KAAY;QACpB,KAAK,CAAC,eAAM,CAAC,uBAAuB,EAAE,KAAK,CAAC,CAAC;IACjD,CAAC;CACJ;AAJD,oEAIC"} \ No newline at end of file diff --git a/src/guild/GuildMemberAddEvent.d.ts b/src/guild/GuildMemberAddEvent.d.ts new file mode 100644 index 0000000..26a23eb --- /dev/null +++ b/src/guild/GuildMemberAddEvent.d.ts @@ -0,0 +1,14 @@ +import { GuildMember } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildMemberAddEvent extends GuildEvent { + guildMember: GuildMember; + /** + * @param {GuildMember} guildMember + */ + constructor(guildMember: GuildMember); + /** + * @returns {GuildMember} + */ + getGuildMember(): GuildMember; +} +//# sourceMappingURL=GuildMemberAddEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildMemberAddEvent.d.ts.map b/src/guild/GuildMemberAddEvent.d.ts.map new file mode 100644 index 0000000..064ef10 --- /dev/null +++ b/src/guild/GuildMemberAddEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildMemberAddEvent.d.ts","sourceRoot":"","sources":["GuildMemberAddEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,mBAAoB,SAAQ,UAAU;IAE/C,WAAW,EAAE,WAAW,CAAC;IACzB;;OAEG;gBACS,WAAW,EAAE,WAAW;IAKpC;;OAEG;IACH,cAAc,IAAI,WAAW;CAGhC"} \ No newline at end of file diff --git a/src/guild/GuildMemberAddEvent.js b/src/guild/GuildMemberAddEvent.js new file mode 100644 index 0000000..1d9d725 --- /dev/null +++ b/src/guild/GuildMemberAddEvent.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildMemberAddEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildMemberAddEvent extends GuildEvent_1.GuildEvent { + /** + * @param {GuildMember} guildMember + */ + constructor(guildMember) { + super(Events_1.Events.GuildMemberAdd, guildMember.guild); + this.guildMember = guildMember; + } + /** + * @returns {GuildMember} + */ + getGuildMember() { + return this.guildMember; + } +} +exports.GuildMemberAddEvent = GuildMemberAddEvent; +//# sourceMappingURL=GuildMemberAddEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildMemberAddEvent.js.map b/src/guild/GuildMemberAddEvent.js.map new file mode 100644 index 0000000..3bdfae5 --- /dev/null +++ b/src/guild/GuildMemberAddEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildMemberAddEvent.js","sourceRoot":"","sources":["GuildMemberAddEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,mBAAoB,SAAQ,uBAAU;IAG/C;;OAEG;IACH,YAAY,WAAwB;QAChC,KAAK,CAAC,eAAM,CAAC,cAAc,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;QAChD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;IAED;;OAEG;IACH,cAAc;QACV,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CACJ;AAjBD,kDAiBC"} \ No newline at end of file diff --git a/src/guild/GuildMemberAvailableEvent.d.ts b/src/guild/GuildMemberAvailableEvent.d.ts new file mode 100644 index 0000000..5b0b452 --- /dev/null +++ b/src/guild/GuildMemberAvailableEvent.d.ts @@ -0,0 +1,14 @@ +import { GuildMember } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildMemberAvailableEvent extends GuildEvent { + guildMember: GuildMember; + /** + * @param {GuildMember} guildMember + */ + constructor(guildMember: GuildMember); + /** + * @returns {GuildMember} + */ + getGuildMember(): GuildMember; +} +//# sourceMappingURL=GuildMemberAvailableEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildMemberAvailableEvent.d.ts.map b/src/guild/GuildMemberAvailableEvent.d.ts.map new file mode 100644 index 0000000..f7b38b2 --- /dev/null +++ b/src/guild/GuildMemberAvailableEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildMemberAvailableEvent.d.ts","sourceRoot":"","sources":["GuildMemberAvailableEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,yBAA0B,SAAQ,UAAU;IAErD,WAAW,EAAE,WAAW,CAAC;IACzB;;OAEG;gBACS,WAAW,EAAE,WAAW;IAKpC;;OAEG;IACH,cAAc,IAAI,WAAW;CAGhC"} \ No newline at end of file diff --git a/src/guild/GuildMemberAvailableEvent.js b/src/guild/GuildMemberAvailableEvent.js new file mode 100644 index 0000000..6c0c775 --- /dev/null +++ b/src/guild/GuildMemberAvailableEvent.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildMemberAvailableEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildMemberAvailableEvent extends GuildEvent_1.GuildEvent { + /** + * @param {GuildMember} guildMember + */ + constructor(guildMember) { + super(Events_1.Events.GuildMemberAvailable, guildMember.guild); + this.guildMember = guildMember; + } + /** + * @returns {GuildMember} + */ + getGuildMember() { + return this.guildMember; + } +} +exports.GuildMemberAvailableEvent = GuildMemberAvailableEvent; +//# sourceMappingURL=GuildMemberAvailableEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildMemberAvailableEvent.js.map b/src/guild/GuildMemberAvailableEvent.js.map new file mode 100644 index 0000000..d8b13ac --- /dev/null +++ b/src/guild/GuildMemberAvailableEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildMemberAvailableEvent.js","sourceRoot":"","sources":["GuildMemberAvailableEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,yBAA0B,SAAQ,uBAAU;IAGrD;;OAEG;IACH,YAAY,WAAwB;QAChC,KAAK,CAAC,eAAM,CAAC,oBAAoB,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;QACtD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;IAED;;OAEG;IACH,cAAc;QACV,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CACJ;AAjBD,8DAiBC"} \ No newline at end of file diff --git a/src/guild/GuildMemberRemoveEvent.d.ts b/src/guild/GuildMemberRemoveEvent.d.ts new file mode 100644 index 0000000..6f0ecc5 --- /dev/null +++ b/src/guild/GuildMemberRemoveEvent.d.ts @@ -0,0 +1,14 @@ +import { GuildMember } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildMemberRemoveEvent extends GuildEvent { + guildMember: GuildMember; + /** + * @param {GuildMember} guildMember + */ + constructor(guildMember: GuildMember); + /** + * @returns {GuildMember} + */ + getGuildMember(): GuildMember; +} +//# sourceMappingURL=GuildMemberRemoveEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildMemberRemoveEvent.d.ts.map b/src/guild/GuildMemberRemoveEvent.d.ts.map new file mode 100644 index 0000000..36c13f6 --- /dev/null +++ b/src/guild/GuildMemberRemoveEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildMemberRemoveEvent.d.ts","sourceRoot":"","sources":["GuildMemberRemoveEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,sBAAuB,SAAQ,UAAU;IAElD,WAAW,EAAE,WAAW,CAAC;IACzB;;OAEG;gBACS,WAAW,EAAE,WAAW;IAKpC;;OAEG;IACH,cAAc,IAAI,WAAW;CAGhC"} \ No newline at end of file diff --git a/src/guild/GuildMemberRemoveEvent.js b/src/guild/GuildMemberRemoveEvent.js new file mode 100644 index 0000000..cf4f86a --- /dev/null +++ b/src/guild/GuildMemberRemoveEvent.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildMemberRemoveEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildMemberRemoveEvent extends GuildEvent_1.GuildEvent { + /** + * @param {GuildMember} guildMember + */ + constructor(guildMember) { + super(Events_1.Events.GuildMemberRemove, guildMember.guild); + this.guildMember = guildMember; + } + /** + * @returns {GuildMember} + */ + getGuildMember() { + return this.guildMember; + } +} +exports.GuildMemberRemoveEvent = GuildMemberRemoveEvent; +//# sourceMappingURL=GuildMemberRemoveEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildMemberRemoveEvent.js.map b/src/guild/GuildMemberRemoveEvent.js.map new file mode 100644 index 0000000..1d87744 --- /dev/null +++ b/src/guild/GuildMemberRemoveEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildMemberRemoveEvent.js","sourceRoot":"","sources":["GuildMemberRemoveEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,sBAAuB,SAAQ,uBAAU;IAGlD;;OAEG;IACH,YAAY,WAAwB;QAChC,KAAK,CAAC,eAAM,CAAC,iBAAiB,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;QACnD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;IAED;;OAEG;IACH,cAAc;QACV,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CACJ;AAjBD,wDAiBC"} \ No newline at end of file diff --git a/src/guild/GuildMemberUpdateEvent.d.ts b/src/guild/GuildMemberUpdateEvent.d.ts new file mode 100644 index 0000000..f17c93e --- /dev/null +++ b/src/guild/GuildMemberUpdateEvent.d.ts @@ -0,0 +1,10 @@ +import { GuildMember } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildMemberUpdateEvent extends GuildEvent { + oldMember: GuildMember; + newMember: GuildMember; + constructor(oldMember: GuildMember, newMember: GuildMember); + getOldMember(): GuildMember; + getNewMember(): GuildMember; +} +//# sourceMappingURL=GuildMemberUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildMemberUpdateEvent.d.ts.map b/src/guild/GuildMemberUpdateEvent.d.ts.map new file mode 100644 index 0000000..1f9330a --- /dev/null +++ b/src/guild/GuildMemberUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildMemberUpdateEvent.d.ts","sourceRoot":"","sources":["GuildMemberUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,sBAAuB,SAAQ,UAAU;IAClD,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,WAAW,CAAC;gBAEX,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW;IAM1D,YAAY,IAAI,WAAW;IAI3B,YAAY,IAAI,WAAW;CAG9B"} \ No newline at end of file diff --git a/src/guild/GuildMemberUpdateEvent.js b/src/guild/GuildMemberUpdateEvent.js new file mode 100644 index 0000000..db21bd6 --- /dev/null +++ b/src/guild/GuildMemberUpdateEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildMemberUpdateEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildMemberUpdateEvent extends GuildEvent_1.GuildEvent { + constructor(oldMember, newMember) { + super(Events_1.Events.GuildMemberUpdate, newMember.guild); + this.oldMember = oldMember; + this.newMember = newMember; + } + getOldMember() { + return this.oldMember; + } + getNewMember() { + return this.newMember; + } +} +exports.GuildMemberUpdateEvent = GuildMemberUpdateEvent; +//# sourceMappingURL=GuildMemberUpdateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildMemberUpdateEvent.js.map b/src/guild/GuildMemberUpdateEvent.js.map new file mode 100644 index 0000000..d7e1e93 --- /dev/null +++ b/src/guild/GuildMemberUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildMemberUpdateEvent.js","sourceRoot":"","sources":["GuildMemberUpdateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,sBAAuB,SAAQ,uBAAU;IAIlD,YAAY,SAAsB,EAAE,SAAsB;QACtD,KAAK,CAAC,eAAM,CAAC,iBAAiB,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;QACjD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAED,YAAY;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED,YAAY;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;CACJ;AAjBD,wDAiBC"} \ No newline at end of file diff --git a/src/guild/GuildMembersChunkEvents.d.ts b/src/guild/GuildMembersChunkEvents.d.ts new file mode 100644 index 0000000..d9f5772 --- /dev/null +++ b/src/guild/GuildMembersChunkEvents.d.ts @@ -0,0 +1,18 @@ +import { Guild } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildMembersChunkEvents extends GuildEvent { + members: any; + chunk: any; + /** + * @param {Collection} members + * @param {Guild} guild + * @param {*} chunk + */ + constructor(members: any, guild: Guild, chunk: any); + /** + * @returns {Collection} + */ + getMembers(): any; + getChunk(): any; +} +//# sourceMappingURL=GuildMembersChunkEvents.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildMembersChunkEvents.d.ts.map b/src/guild/GuildMembersChunkEvents.d.ts.map new file mode 100644 index 0000000..3b3fd1b --- /dev/null +++ b/src/guild/GuildMembersChunkEvents.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildMembersChunkEvents.d.ts","sourceRoot":"","sources":["GuildMembersChunkEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,uBAAwB,SAAQ,UAAU;IAEnD,OAAO,EAAE,GAAG,CAAC;IACb,KAAK,EAAE,GAAG,CAAC;IACX;;;;OAIG;gBACS,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG;IAMlD;;OAEG;IACH,UAAU,IAAI,GAAG;IAIjB,QAAQ,IAAI,GAAG;CAGlB"} \ No newline at end of file diff --git a/src/guild/GuildMembersChunkEvents.js b/src/guild/GuildMembersChunkEvents.js new file mode 100644 index 0000000..987b38d --- /dev/null +++ b/src/guild/GuildMembersChunkEvents.js @@ -0,0 +1,28 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildMembersChunkEvents = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildMembersChunkEvents extends GuildEvent_1.GuildEvent { + /** + * @param {Collection} members + * @param {Guild} guild + * @param {*} chunk + */ + constructor(members, guild, chunk) { + super(Events_1.Events.GuildMembersChunk, guild); + this.members = members; + this.chunk = chunk; + } + /** + * @returns {Collection} + */ + getMembers() { + return this.members; + } + getChunk() { + return this.chunk; + } +} +exports.GuildMembersChunkEvents = GuildMembersChunkEvents; +//# sourceMappingURL=GuildMembersChunkEvents.js.map \ No newline at end of file diff --git a/src/guild/GuildMembersChunkEvents.js.map b/src/guild/GuildMembersChunkEvents.js.map new file mode 100644 index 0000000..b26f837 --- /dev/null +++ b/src/guild/GuildMembersChunkEvents.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildMembersChunkEvents.js","sourceRoot":"","sources":["GuildMembersChunkEvents.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,uBAAwB,SAAQ,uBAAU;IAInD;;;;OAIG;IACH,YAAY,OAAY,EAAE,KAAY,EAAE,KAAU;QAC9C,KAAK,CAAC,eAAM,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;CACJ;AAzBD,0DAyBC"} \ No newline at end of file diff --git a/src/guild/GuildRoleCreateEvent.d.ts b/src/guild/GuildRoleCreateEvent.d.ts new file mode 100644 index 0000000..308c5a8 --- /dev/null +++ b/src/guild/GuildRoleCreateEvent.d.ts @@ -0,0 +1,8 @@ +import { Role } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildRoleCreateEvent extends GuildEvent { + role: Role; + constructor(role: Role); + getRole(): Role; +} +//# sourceMappingURL=GuildRoleCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildRoleCreateEvent.d.ts.map b/src/guild/GuildRoleCreateEvent.d.ts.map new file mode 100644 index 0000000..3e424d7 --- /dev/null +++ b/src/guild/GuildRoleCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildRoleCreateEvent.d.ts","sourceRoot":"","sources":["GuildRoleCreateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,oBAAqB,SAAQ,UAAU;IAChD,IAAI,EAAE,IAAI,CAAC;gBAEC,IAAI,EAAE,IAAI;IAKtB,OAAO,IAAI,IAAI;CAGlB"} \ No newline at end of file diff --git a/src/guild/GuildRoleCreateEvent.js b/src/guild/GuildRoleCreateEvent.js new file mode 100644 index 0000000..acc54e3 --- /dev/null +++ b/src/guild/GuildRoleCreateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildRoleCreateEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildRoleCreateEvent extends GuildEvent_1.GuildEvent { + constructor(role) { + super(Events_1.Events.GuildRoleCreate, role.guild); + this.role = role; + } + getRole() { + return this.role; + } +} +exports.GuildRoleCreateEvent = GuildRoleCreateEvent; +//# sourceMappingURL=GuildRoleCreateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildRoleCreateEvent.js.map b/src/guild/GuildRoleCreateEvent.js.map new file mode 100644 index 0000000..e087679 --- /dev/null +++ b/src/guild/GuildRoleCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildRoleCreateEvent.js","sourceRoot":"","sources":["GuildRoleCreateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,oBAAqB,SAAQ,uBAAU;IAGhD,YAAY,IAAU;QAClB,KAAK,CAAC,eAAM,CAAC,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;CACJ;AAXD,oDAWC"} \ No newline at end of file diff --git a/src/guild/GuildRoleDeleteEvent.d.ts b/src/guild/GuildRoleDeleteEvent.d.ts new file mode 100644 index 0000000..e9b240a --- /dev/null +++ b/src/guild/GuildRoleDeleteEvent.d.ts @@ -0,0 +1,14 @@ +import { Role } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildRoleDeleteEvent extends GuildEvent { + role: Role; + /** + * @param {Role} role + */ + constructor(role: Role); + /** + * @returns {Role} + */ + getRole(): Role; +} +//# sourceMappingURL=GuildRoleDeleteEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildRoleDeleteEvent.d.ts.map b/src/guild/GuildRoleDeleteEvent.d.ts.map new file mode 100644 index 0000000..b76ca0c --- /dev/null +++ b/src/guild/GuildRoleDeleteEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildRoleDeleteEvent.d.ts","sourceRoot":"","sources":["GuildRoleDeleteEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,oBAAqB,SAAQ,UAAU;IAChD,IAAI,EAAE,IAAI,CAAC;IAEX;;OAEG;gBACS,IAAI,EAAE,IAAI;IAKtB;;OAEG;IACH,OAAO,IAAI,IAAI;CAGlB"} \ No newline at end of file diff --git a/src/guild/GuildRoleDeleteEvent.js b/src/guild/GuildRoleDeleteEvent.js new file mode 100644 index 0000000..722a999 --- /dev/null +++ b/src/guild/GuildRoleDeleteEvent.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildRoleDeleteEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildRoleDeleteEvent extends GuildEvent_1.GuildEvent { + /** + * @param {Role} role + */ + constructor(role) { + super(Events_1.Events.GuildRoleDelete, role.guild); + this.role = role; + } + /** + * @returns {Role} + */ + getRole() { + return this.role; + } +} +exports.GuildRoleDeleteEvent = GuildRoleDeleteEvent; +//# sourceMappingURL=GuildRoleDeleteEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildRoleDeleteEvent.js.map b/src/guild/GuildRoleDeleteEvent.js.map new file mode 100644 index 0000000..79cfaa2 --- /dev/null +++ b/src/guild/GuildRoleDeleteEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildRoleDeleteEvent.js","sourceRoot":"","sources":["GuildRoleDeleteEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,oBAAqB,SAAQ,uBAAU;IAGhD;;OAEG;IACH,YAAY,IAAU;QAClB,KAAK,CAAC,eAAM,CAAC,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;CACJ;AAjBD,oDAiBC"} \ No newline at end of file diff --git a/src/guild/GuildRoleUpdateEvent.d.ts b/src/guild/GuildRoleUpdateEvent.d.ts new file mode 100644 index 0000000..d1c28bb --- /dev/null +++ b/src/guild/GuildRoleUpdateEvent.d.ts @@ -0,0 +1,10 @@ +import { Role } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildRoleUpdateEvent extends GuildEvent { + oldRole: Role; + newRole: Role; + constructor(oldRole: Role, newRole: Role); + getOldRole(): Role; + getNewRole(): Role; +} +//# sourceMappingURL=GuildRoleUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildRoleUpdateEvent.d.ts.map b/src/guild/GuildRoleUpdateEvent.d.ts.map new file mode 100644 index 0000000..8797638 --- /dev/null +++ b/src/guild/GuildRoleUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildRoleUpdateEvent.d.ts","sourceRoot":"","sources":["GuildRoleUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,oBAAqB,SAAQ,UAAU;IAChD,OAAO,EAAE,IAAI,CAAC;IACd,OAAO,EAAE,IAAI,CAAC;gBAEF,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI;IAMxC,UAAU,IAAI,IAAI;IAIlB,UAAU,IAAI,IAAI;CAGrB"} \ No newline at end of file diff --git a/src/guild/GuildRoleUpdateEvent.js b/src/guild/GuildRoleUpdateEvent.js new file mode 100644 index 0000000..4bc109d --- /dev/null +++ b/src/guild/GuildRoleUpdateEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildRoleUpdateEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildRoleUpdateEvent extends GuildEvent_1.GuildEvent { + constructor(oldRole, newRole) { + super(Events_1.Events.GuildRoleUpdate, newRole.guild); + this.oldRole = oldRole; + this.newRole = newRole; + } + getOldRole() { + return this.oldRole; + } + getNewRole() { + return this.newRole; + } +} +exports.GuildRoleUpdateEvent = GuildRoleUpdateEvent; +//# sourceMappingURL=GuildRoleUpdateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildRoleUpdateEvent.js.map b/src/guild/GuildRoleUpdateEvent.js.map new file mode 100644 index 0000000..5a6d7df --- /dev/null +++ b/src/guild/GuildRoleUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildRoleUpdateEvent.js","sourceRoot":"","sources":["GuildRoleUpdateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,oBAAqB,SAAQ,uBAAU;IAIhD,YAAY,OAAa,EAAE,OAAa;QACpC,KAAK,CAAC,eAAM,CAAC,eAAe,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAED,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;CACJ;AAjBD,oDAiBC"} \ No newline at end of file diff --git a/src/guild/GuildScheduledEventCreateEvent.d.ts b/src/guild/GuildScheduledEventCreateEvent.d.ts new file mode 100644 index 0000000..8ab7006 --- /dev/null +++ b/src/guild/GuildScheduledEventCreateEvent.d.ts @@ -0,0 +1,8 @@ +import { GuildScheduledEvent } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildScheduledEventCreateEvent extends GuildEvent { + guildScheduledEvent: GuildScheduledEvent; + constructor(guildScheduledEvent: GuildScheduledEvent); + getGuildScheduledEvent(): GuildScheduledEvent; +} +//# sourceMappingURL=GuildScheduledEventCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildScheduledEventCreateEvent.d.ts.map b/src/guild/GuildScheduledEventCreateEvent.d.ts.map new file mode 100644 index 0000000..f32dcc9 --- /dev/null +++ b/src/guild/GuildScheduledEventCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildScheduledEventCreateEvent.d.ts","sourceRoot":"","sources":["GuildScheduledEventCreateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,8BAA+B,SAAQ,UAAU;IAE1D,mBAAmB,EAAE,mBAAmB,CAAC;gBAE7B,mBAAmB,EAAE,mBAAmB;IAKpD,sBAAsB,IAAI,mBAAmB;CAGhD"} \ No newline at end of file diff --git a/src/guild/GuildScheduledEventCreateEvent.js b/src/guild/GuildScheduledEventCreateEvent.js new file mode 100644 index 0000000..9f72d01 --- /dev/null +++ b/src/guild/GuildScheduledEventCreateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildScheduledEventCreateEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildScheduledEventCreateEvent extends GuildEvent_1.GuildEvent { + constructor(guildScheduledEvent) { + super(Events_1.Events.GuildScheduledEventCreate, guildScheduledEvent.guild); + this.guildScheduledEvent = guildScheduledEvent; + } + getGuildScheduledEvent() { + return this.guildScheduledEvent; + } +} +exports.GuildScheduledEventCreateEvent = GuildScheduledEventCreateEvent; +//# sourceMappingURL=GuildScheduledEventCreateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildScheduledEventCreateEvent.js.map b/src/guild/GuildScheduledEventCreateEvent.js.map new file mode 100644 index 0000000..908ce78 --- /dev/null +++ b/src/guild/GuildScheduledEventCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildScheduledEventCreateEvent.js","sourceRoot":"","sources":["GuildScheduledEventCreateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,8BAA+B,SAAQ,uBAAU;IAI1D,YAAY,mBAAwC;QAChD,KAAK,CAAC,eAAM,CAAC,yBAAyB,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;QACnE,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACnD,CAAC;IAED,sBAAsB;QAClB,OAAO,IAAI,CAAC,mBAAmB,CAAC;IACpC,CAAC;CACJ;AAZD,wEAYC"} \ No newline at end of file diff --git a/src/guild/GuildScheduledEventDeleteEvent.d.ts b/src/guild/GuildScheduledEventDeleteEvent.d.ts new file mode 100644 index 0000000..49e158f --- /dev/null +++ b/src/guild/GuildScheduledEventDeleteEvent.d.ts @@ -0,0 +1,8 @@ +import { GuildScheduledEvent } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildScheduledEventDeleteEvent extends GuildEvent { + guildScheduledEvent: GuildScheduledEvent; + constructor(guildScheduledEvent: GuildScheduledEvent); + getGuildScheduledEvent(): GuildScheduledEvent; +} +//# sourceMappingURL=GuildScheduledEventDeleteEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildScheduledEventDeleteEvent.d.ts.map b/src/guild/GuildScheduledEventDeleteEvent.d.ts.map new file mode 100644 index 0000000..ba0e789 --- /dev/null +++ b/src/guild/GuildScheduledEventDeleteEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildScheduledEventDeleteEvent.d.ts","sourceRoot":"","sources":["GuildScheduledEventDeleteEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,8BAA+B,SAAQ,UAAU;IAE1D,mBAAmB,EAAE,mBAAmB,CAAC;gBAE7B,mBAAmB,EAAE,mBAAmB;IAKpD,sBAAsB,IAAI,mBAAmB;CAGhD"} \ No newline at end of file diff --git a/src/guild/GuildScheduledEventDeleteEvent.js b/src/guild/GuildScheduledEventDeleteEvent.js new file mode 100644 index 0000000..25cf419 --- /dev/null +++ b/src/guild/GuildScheduledEventDeleteEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildScheduledEventDeleteEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildScheduledEventDeleteEvent extends GuildEvent_1.GuildEvent { + constructor(guildScheduledEvent) { + super(Events_1.Events.GuildScheduledEventDelete, guildScheduledEvent.guild); + this.guildScheduledEvent = guildScheduledEvent; + } + getGuildScheduledEvent() { + return this.guildScheduledEvent; + } +} +exports.GuildScheduledEventDeleteEvent = GuildScheduledEventDeleteEvent; +//# sourceMappingURL=GuildScheduledEventDeleteEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildScheduledEventDeleteEvent.js.map b/src/guild/GuildScheduledEventDeleteEvent.js.map new file mode 100644 index 0000000..68ec59f --- /dev/null +++ b/src/guild/GuildScheduledEventDeleteEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildScheduledEventDeleteEvent.js","sourceRoot":"","sources":["GuildScheduledEventDeleteEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,8BAA+B,SAAQ,uBAAU;IAI1D,YAAY,mBAAwC;QAChD,KAAK,CAAC,eAAM,CAAC,yBAAyB,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;QACnE,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACnD,CAAC;IAED,sBAAsB;QAClB,OAAO,IAAI,CAAC,mBAAmB,CAAC;IACpC,CAAC;CACJ;AAZD,wEAYC"} \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUpdateEvent.d.ts b/src/guild/GuildScheduledEventUpdateEvent.d.ts new file mode 100644 index 0000000..d554118 --- /dev/null +++ b/src/guild/GuildScheduledEventUpdateEvent.d.ts @@ -0,0 +1,10 @@ +import { GuildScheduledEvent } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildScheduledEventUpdateEvent extends GuildEvent { + oldGuildScheduledEvent: GuildScheduledEvent; + newGuildScheduledEvent: GuildScheduledEvent; + constructor(oldGuildScheduledEvent: GuildScheduledEvent, newGuildScheduledEvent: GuildScheduledEvent); + getOldGuildScheduledEvent(): GuildScheduledEvent; + getNewGuildScheduledEvent(): GuildScheduledEvent; +} +//# sourceMappingURL=GuildScheduledEventUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUpdateEvent.d.ts.map b/src/guild/GuildScheduledEventUpdateEvent.d.ts.map new file mode 100644 index 0000000..4536ccf --- /dev/null +++ b/src/guild/GuildScheduledEventUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildScheduledEventUpdateEvent.d.ts","sourceRoot":"","sources":["GuildScheduledEventUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,8BAA+B,SAAQ,UAAU;IAE1D,sBAAsB,EAAE,mBAAmB,CAAC;IAC5C,sBAAsB,EAAE,mBAAmB,CAAC;gBAEhC,sBAAsB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,mBAAmB;IAMpG,yBAAyB,IAAI,mBAAmB;IAIhD,yBAAyB,IAAI,mBAAmB;CAGnD"} \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUpdateEvent.js b/src/guild/GuildScheduledEventUpdateEvent.js new file mode 100644 index 0000000..5b9f3b7 --- /dev/null +++ b/src/guild/GuildScheduledEventUpdateEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildScheduledEventUpdateEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildScheduledEventUpdateEvent extends GuildEvent_1.GuildEvent { + constructor(oldGuildScheduledEvent, newGuildScheduledEvent) { + super(Events_1.Events.GuildScheduledEventUpdate, newGuildScheduledEvent.guild); + this.oldGuildScheduledEvent = oldGuildScheduledEvent; + this.newGuildScheduledEvent = newGuildScheduledEvent; + } + getOldGuildScheduledEvent() { + return this.oldGuildScheduledEvent; + } + getNewGuildScheduledEvent() { + return this.newGuildScheduledEvent; + } +} +exports.GuildScheduledEventUpdateEvent = GuildScheduledEventUpdateEvent; +//# sourceMappingURL=GuildScheduledEventUpdateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUpdateEvent.js.map b/src/guild/GuildScheduledEventUpdateEvent.js.map new file mode 100644 index 0000000..c39c765 --- /dev/null +++ b/src/guild/GuildScheduledEventUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildScheduledEventUpdateEvent.js","sourceRoot":"","sources":["GuildScheduledEventUpdateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,8BAA+B,SAAQ,uBAAU;IAK1D,YAAY,sBAA2C,EAAE,sBAA2C;QAChG,KAAK,CAAC,eAAM,CAAC,yBAAyB,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC;QACtE,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;IACzD,CAAC;IAED,yBAAyB;QACrB,OAAO,IAAI,CAAC,sBAAsB,CAAC;IACvC,CAAC;IAED,yBAAyB;QACrB,OAAO,IAAI,CAAC,sBAAsB,CAAC;IACvC,CAAC;CACJ;AAlBD,wEAkBC"} \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUserAddEvent.d.ts b/src/guild/GuildScheduledEventUserAddEvent.d.ts new file mode 100644 index 0000000..70cdf1a --- /dev/null +++ b/src/guild/GuildScheduledEventUserAddEvent.d.ts @@ -0,0 +1,10 @@ +import { GuildScheduledEvent, User } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildScheduledEventUserAddEvent extends GuildEvent { + guildScheduledEvent: GuildScheduledEvent; + user: User; + constructor(guildScheduledEvent: GuildScheduledEvent, user: User); + getGuildScheduledEvent(): GuildScheduledEvent; + getUser(): User; +} +//# sourceMappingURL=GuildScheduledEventUserAddEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUserAddEvent.d.ts.map b/src/guild/GuildScheduledEventUserAddEvent.d.ts.map new file mode 100644 index 0000000..c358519 --- /dev/null +++ b/src/guild/GuildScheduledEventUserAddEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildScheduledEventUserAddEvent.d.ts","sourceRoot":"","sources":["GuildScheduledEventUserAddEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,+BAAgC,SAAQ,UAAU;IAC3D,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,IAAI,EAAE,IAAI,CAAC;gBAEC,mBAAmB,EAAE,mBAAmB,EAAE,IAAI,EAAE,IAAI;IAMhE,sBAAsB,IAAI,mBAAmB;IAI7C,OAAO,IAAI,IAAI;CAGlB"} \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUserAddEvent.js b/src/guild/GuildScheduledEventUserAddEvent.js new file mode 100644 index 0000000..20c04ed --- /dev/null +++ b/src/guild/GuildScheduledEventUserAddEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildScheduledEventUserAddEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildScheduledEventUserAddEvent extends GuildEvent_1.GuildEvent { + constructor(guildScheduledEvent, user) { + super(Events_1.Events.GuildScheduledEventUserAdd, guildScheduledEvent.guild); + this.guildScheduledEvent = guildScheduledEvent; + this.user = user; + } + getGuildScheduledEvent() { + return this.guildScheduledEvent; + } + getUser() { + return this.user; + } +} +exports.GuildScheduledEventUserAddEvent = GuildScheduledEventUserAddEvent; +//# sourceMappingURL=GuildScheduledEventUserAddEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUserAddEvent.js.map b/src/guild/GuildScheduledEventUserAddEvent.js.map new file mode 100644 index 0000000..7e9c882 --- /dev/null +++ b/src/guild/GuildScheduledEventUserAddEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildScheduledEventUserAddEvent.js","sourceRoot":"","sources":["GuildScheduledEventUserAddEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,+BAAgC,SAAQ,uBAAU;IAI3D,YAAY,mBAAwC,EAAE,IAAU;QAC5D,KAAK,CAAC,eAAM,CAAC,0BAA0B,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;QACpE,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,sBAAsB;QAClB,OAAO,IAAI,CAAC,mBAAmB,CAAC;IACpC,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;CACJ;AAjBD,0EAiBC"} \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUserRemoveEvent.d.ts b/src/guild/GuildScheduledEventUserRemoveEvent.d.ts new file mode 100644 index 0000000..6f2e811 --- /dev/null +++ b/src/guild/GuildScheduledEventUserRemoveEvent.d.ts @@ -0,0 +1,10 @@ +import { GuildScheduledEvent, User } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildScheduledEventUserRemoveEvent extends GuildEvent { + guildScheduledEvent: GuildScheduledEvent; + user: User; + constructor(guildScheduledEvent: GuildScheduledEvent, user: User); + getGuildScheduledEvent(): GuildScheduledEvent; + getUser(): User; +} +//# sourceMappingURL=GuildScheduledEventUserRemoveEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUserRemoveEvent.d.ts.map b/src/guild/GuildScheduledEventUserRemoveEvent.d.ts.map new file mode 100644 index 0000000..418332a --- /dev/null +++ b/src/guild/GuildScheduledEventUserRemoveEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildScheduledEventUserRemoveEvent.d.ts","sourceRoot":"","sources":["GuildScheduledEventUserRemoveEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,kCAAmC,SAAQ,UAAU;IAC9D,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,IAAI,EAAE,IAAI,CAAC;gBAEC,mBAAmB,EAAE,mBAAmB,EAAE,IAAI,EAAE,IAAI;IAMhE,sBAAsB,IAAI,mBAAmB;IAI7C,OAAO,IAAI,IAAI;CAGlB"} \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUserRemoveEvent.js b/src/guild/GuildScheduledEventUserRemoveEvent.js new file mode 100644 index 0000000..f6a3738 --- /dev/null +++ b/src/guild/GuildScheduledEventUserRemoveEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildScheduledEventUserRemoveEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildScheduledEventUserRemoveEvent extends GuildEvent_1.GuildEvent { + constructor(guildScheduledEvent, user) { + super(Events_1.Events.GuildScheduledEventUserRemove, guildScheduledEvent.guild); + this.guildScheduledEvent = guildScheduledEvent; + this.user = user; + } + getGuildScheduledEvent() { + return this.guildScheduledEvent; + } + getUser() { + return this.user; + } +} +exports.GuildScheduledEventUserRemoveEvent = GuildScheduledEventUserRemoveEvent; +//# sourceMappingURL=GuildScheduledEventUserRemoveEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildScheduledEventUserRemoveEvent.js.map b/src/guild/GuildScheduledEventUserRemoveEvent.js.map new file mode 100644 index 0000000..04497ba --- /dev/null +++ b/src/guild/GuildScheduledEventUserRemoveEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildScheduledEventUserRemoveEvent.js","sourceRoot":"","sources":["GuildScheduledEventUserRemoveEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,kCAAmC,SAAQ,uBAAU;IAI9D,YAAY,mBAAwC,EAAE,IAAU;QAC5D,KAAK,CAAC,eAAM,CAAC,6BAA6B,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;QACvE,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,sBAAsB;QAClB,OAAO,IAAI,CAAC,mBAAmB,CAAC;IACpC,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;CACJ;AAjBD,gFAiBC"} \ No newline at end of file diff --git a/src/guild/GuildStickerCreateEvent.d.ts b/src/guild/GuildStickerCreateEvent.d.ts new file mode 100644 index 0000000..4bdd70e --- /dev/null +++ b/src/guild/GuildStickerCreateEvent.d.ts @@ -0,0 +1,8 @@ +import { Sticker } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildStickerCreateEvent extends GuildEvent { + sticker: Sticker; + constructor(sticker: Sticker); + getSticker(): Sticker; +} +//# sourceMappingURL=GuildStickerCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildStickerCreateEvent.d.ts.map b/src/guild/GuildStickerCreateEvent.d.ts.map new file mode 100644 index 0000000..deb7d63 --- /dev/null +++ b/src/guild/GuildStickerCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildStickerCreateEvent.d.ts","sourceRoot":"","sources":["GuildStickerCreateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,uBAAwB,SAAQ,UAAU;IACnD,OAAO,EAAE,OAAO,CAAC;gBAEL,OAAO,EAAE,OAAO;IAK5B,UAAU,IAAI,OAAO;CAGxB"} \ No newline at end of file diff --git a/src/guild/GuildStickerCreateEvent.js b/src/guild/GuildStickerCreateEvent.js new file mode 100644 index 0000000..c25268a --- /dev/null +++ b/src/guild/GuildStickerCreateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildStickerCreateEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildStickerCreateEvent extends GuildEvent_1.GuildEvent { + constructor(sticker) { + super(Events_1.Events.GuildStickerCreate, sticker.guild); + this.sticker = sticker; + } + getSticker() { + return this.sticker; + } +} +exports.GuildStickerCreateEvent = GuildStickerCreateEvent; +//# sourceMappingURL=GuildStickerCreateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildStickerCreateEvent.js.map b/src/guild/GuildStickerCreateEvent.js.map new file mode 100644 index 0000000..3ce2e9e --- /dev/null +++ b/src/guild/GuildStickerCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildStickerCreateEvent.js","sourceRoot":"","sources":["GuildStickerCreateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,uBAAwB,SAAQ,uBAAU;IAGnD,YAAY,OAAgB;QACxB,KAAK,CAAC,eAAM,CAAC,kBAAkB,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;CACJ;AAXD,0DAWC"} \ No newline at end of file diff --git a/src/guild/GuildStickerDeleteEvent.d.ts b/src/guild/GuildStickerDeleteEvent.d.ts new file mode 100644 index 0000000..931a591 --- /dev/null +++ b/src/guild/GuildStickerDeleteEvent.d.ts @@ -0,0 +1,8 @@ +import { Sticker } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildStickerDeleteEvent extends GuildEvent { + sticker: Sticker; + constructor(sticker: Sticker); + getSticker(): Sticker; +} +//# sourceMappingURL=GuildStickerDeleteEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildStickerDeleteEvent.d.ts.map b/src/guild/GuildStickerDeleteEvent.d.ts.map new file mode 100644 index 0000000..f614f67 --- /dev/null +++ b/src/guild/GuildStickerDeleteEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildStickerDeleteEvent.d.ts","sourceRoot":"","sources":["GuildStickerDeleteEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,uBAAwB,SAAQ,UAAU;IACnD,OAAO,EAAE,OAAO,CAAC;gBAEL,OAAO,EAAE,OAAO;IAK5B,UAAU,IAAI,OAAO;CAGxB"} \ No newline at end of file diff --git a/src/guild/GuildStickerDeleteEvent.js b/src/guild/GuildStickerDeleteEvent.js new file mode 100644 index 0000000..3e5b6fb --- /dev/null +++ b/src/guild/GuildStickerDeleteEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildStickerDeleteEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildStickerDeleteEvent extends GuildEvent_1.GuildEvent { + constructor(sticker) { + super(Events_1.Events.GuildStickerDelete, sticker.guild); + this.sticker = sticker; + } + getSticker() { + return this.sticker; + } +} +exports.GuildStickerDeleteEvent = GuildStickerDeleteEvent; +//# sourceMappingURL=GuildStickerDeleteEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildStickerDeleteEvent.js.map b/src/guild/GuildStickerDeleteEvent.js.map new file mode 100644 index 0000000..7eb3912 --- /dev/null +++ b/src/guild/GuildStickerDeleteEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildStickerDeleteEvent.js","sourceRoot":"","sources":["GuildStickerDeleteEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,uBAAwB,SAAQ,uBAAU;IAGnD,YAAY,OAAgB;QACxB,KAAK,CAAC,eAAM,CAAC,kBAAkB,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;CACJ;AAXD,0DAWC"} \ No newline at end of file diff --git a/src/guild/GuildStickerUpdateEvent.d.ts b/src/guild/GuildStickerUpdateEvent.d.ts new file mode 100644 index 0000000..4a12b29 --- /dev/null +++ b/src/guild/GuildStickerUpdateEvent.d.ts @@ -0,0 +1,10 @@ +import { Sticker } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildStickerUpdateEvent extends GuildEvent { + oldSticker: Sticker; + newSticker: Sticker; + constructor(oldSticker: Sticker, newSticker: Sticker); + getOldSticker(): Sticker; + getNewSticker(): Sticker; +} +//# sourceMappingURL=GuildStickerUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildStickerUpdateEvent.d.ts.map b/src/guild/GuildStickerUpdateEvent.d.ts.map new file mode 100644 index 0000000..7ec36b0 --- /dev/null +++ b/src/guild/GuildStickerUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildStickerUpdateEvent.d.ts","sourceRoot":"","sources":["GuildStickerUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,uBAAwB,SAAQ,UAAU;IACnD,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;gBAER,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO;IAMpD,aAAa,IAAI,OAAO;IAIxB,aAAa,IAAI,OAAO;CAG3B"} \ No newline at end of file diff --git a/src/guild/GuildStickerUpdateEvent.js b/src/guild/GuildStickerUpdateEvent.js new file mode 100644 index 0000000..4f09424 --- /dev/null +++ b/src/guild/GuildStickerUpdateEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildStickerUpdateEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildStickerUpdateEvent extends GuildEvent_1.GuildEvent { + constructor(oldSticker, newSticker) { + super(Events_1.Events.GuildStickerUpdate, newSticker.guild); + this.oldSticker = oldSticker; + this.newSticker = newSticker; + } + getOldSticker() { + return this.oldSticker; + } + getNewSticker() { + return this.newSticker; + } +} +exports.GuildStickerUpdateEvent = GuildStickerUpdateEvent; +//# sourceMappingURL=GuildStickerUpdateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildStickerUpdateEvent.js.map b/src/guild/GuildStickerUpdateEvent.js.map new file mode 100644 index 0000000..497969c --- /dev/null +++ b/src/guild/GuildStickerUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildStickerUpdateEvent.js","sourceRoot":"","sources":["GuildStickerUpdateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,uBAAwB,SAAQ,uBAAU;IAInD,YAAY,UAAmB,EAAE,UAAmB;QAChD,KAAK,CAAC,eAAM,CAAC,kBAAkB,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;QACnD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC;IAED,aAAa;QACT,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IAED,aAAa;QACT,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;CACJ;AAjBD,0DAiBC"} \ No newline at end of file diff --git a/src/guild/GuildUnavailableEvent.d.ts b/src/guild/GuildUnavailableEvent.d.ts new file mode 100644 index 0000000..39f2515 --- /dev/null +++ b/src/guild/GuildUnavailableEvent.d.ts @@ -0,0 +1,6 @@ +import { Guild } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildUnavailableEvent extends GuildEvent { + constructor(guild: Guild); +} +//# sourceMappingURL=GuildUnavailableEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildUnavailableEvent.d.ts.map b/src/guild/GuildUnavailableEvent.d.ts.map new file mode 100644 index 0000000..53b6481 --- /dev/null +++ b/src/guild/GuildUnavailableEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildUnavailableEvent.d.ts","sourceRoot":"","sources":["GuildUnavailableEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,qBAAsB,SAAQ,UAAU;gBACrC,KAAK,EAAE,KAAK;CAG3B"} \ No newline at end of file diff --git a/src/guild/GuildUnavailableEvent.js b/src/guild/GuildUnavailableEvent.js new file mode 100644 index 0000000..d103c98 --- /dev/null +++ b/src/guild/GuildUnavailableEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildUnavailableEvent = void 0; +const Events_js_1 = require("../Events.js"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildUnavailableEvent extends GuildEvent_1.GuildEvent { + constructor(guild) { + super(Events_js_1.Events.GuildUnavailable, guild); + } +} +exports.GuildUnavailableEvent = GuildUnavailableEvent; +//# sourceMappingURL=GuildUnavailableEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildUnavailableEvent.js.map b/src/guild/GuildUnavailableEvent.js.map new file mode 100644 index 0000000..c0029ee --- /dev/null +++ b/src/guild/GuildUnavailableEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildUnavailableEvent.js","sourceRoot":"","sources":["GuildUnavailableEvent.ts"],"names":[],"mappings":";;;AACA,4CAAsC;AACtC,6CAA0C;AAE1C,MAAa,qBAAsB,SAAQ,uBAAU;IACjD,YAAY,KAAY;QACpB,KAAK,CAAC,kBAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC;IAC1C,CAAC;CACJ;AAJD,sDAIC"} \ No newline at end of file diff --git a/src/guild/GuildUpdateEvent.d.ts b/src/guild/GuildUpdateEvent.d.ts new file mode 100644 index 0000000..19ed046 --- /dev/null +++ b/src/guild/GuildUpdateEvent.d.ts @@ -0,0 +1,8 @@ +import { Guild } from "discord.js"; +import { GuildEvent } from "./GuildEvent"; +export declare class GuildUpdateEvent extends GuildEvent { + oldGuild: Guild; + constructor(oldGuild: Guild, newGuild: Guild); + getOldGuild(): Guild; +} +//# sourceMappingURL=GuildUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/guild/GuildUpdateEvent.d.ts.map b/src/guild/GuildUpdateEvent.d.ts.map new file mode 100644 index 0000000..c438075 --- /dev/null +++ b/src/guild/GuildUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildUpdateEvent.d.ts","sourceRoot":"","sources":["GuildUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,gBAAiB,SAAQ,UAAU;IAC5C,QAAQ,EAAE,KAAK,CAAC;gBAEJ,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK;IAK5C,WAAW,IAAI,KAAK;CAGvB"} \ No newline at end of file diff --git a/src/guild/GuildUpdateEvent.js b/src/guild/GuildUpdateEvent.js new file mode 100644 index 0000000..ecb3027 --- /dev/null +++ b/src/guild/GuildUpdateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GuildUpdateEvent = void 0; +const Events_1 = require("../Events"); +const GuildEvent_1 = require("./GuildEvent"); +class GuildUpdateEvent extends GuildEvent_1.GuildEvent { + constructor(oldGuild, newGuild) { + super(Events_1.Events.GuildUpdate, newGuild); + this.oldGuild = oldGuild; + } + getOldGuild() { + return this.oldGuild; + } +} +exports.GuildUpdateEvent = GuildUpdateEvent; +//# sourceMappingURL=GuildUpdateEvent.js.map \ No newline at end of file diff --git a/src/guild/GuildUpdateEvent.js.map b/src/guild/GuildUpdateEvent.js.map new file mode 100644 index 0000000..f57b9be --- /dev/null +++ b/src/guild/GuildUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GuildUpdateEvent.js","sourceRoot":"","sources":["GuildUpdateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,gBAAiB,SAAQ,uBAAU;IAG5C,YAAY,QAAe,EAAE,QAAe;QACxC,KAAK,CAAC,eAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,WAAW;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;CACJ;AAXD,4CAWC"} \ No newline at end of file diff --git a/src/guild/index.d.ts b/src/guild/index.d.ts new file mode 100644 index 0000000..d80b826 --- /dev/null +++ b/src/guild/index.d.ts @@ -0,0 +1,29 @@ +export * from "./GuildAuditLogEntryCreateEvent"; +export * from "./GuildAvailableEvent"; +export * from "./GuildBanAddEvent"; +export * from "./GuildBanRemoveEvent"; +export * from "./GuildCreateEvent"; +export * from "./GuildEmojiCreateEvent"; +export * from "./GuildEmojiDeleteEvent"; +export * from "./GuildEmojiUpdateEvent"; +export * from "./GuildIntegrationsUpdateEvent"; +export * from "./GuildMemberAddEvent"; +export * from "./GuildMemberAvailableEvent"; +export * from "./GuildMemberRemoveEvent"; +export * from "./GuildMembersChunkEvents"; +export * from "./GuildMemberUpdateEvent"; +export * from "./GuildRoleCreateEvent"; +export * from "./GuildRoleDeleteEvent"; +export * from "./GuildRoleUpdateEvent"; +export * from "./GuildScheduledEventCreateEvent"; +export * from "./GuildScheduledEventDeleteEvent"; +export * from "./GuildScheduledEventUpdateEvent"; +export * from "./GuildScheduledEventUserAddEvent"; +export * from "./GuildScheduledEventUserRemoveEvent"; +export * from "./GuildStickerCreateEvent"; +export * from "./GuildStickerDeleteEvent"; +export * from "./GuildStickerUpdateEvent"; +export * from "./GuildUnavailableEvent"; +export * from "./GuildUpdateEvent"; +export * from "./GuildEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/guild/index.d.ts.map b/src/guild/index.d.ts.map new file mode 100644 index 0000000..4569a5d --- /dev/null +++ b/src/guild/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC;AACrD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC"} \ No newline at end of file diff --git a/src/guild/index.js b/src/guild/index.js new file mode 100644 index 0000000..f3dcad3 --- /dev/null +++ b/src/guild/index.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./GuildAuditLogEntryCreateEvent"), exports); +__exportStar(require("./GuildAvailableEvent"), exports); +__exportStar(require("./GuildBanAddEvent"), exports); +__exportStar(require("./GuildBanRemoveEvent"), exports); +__exportStar(require("./GuildCreateEvent"), exports); +__exportStar(require("./GuildEmojiCreateEvent"), exports); +__exportStar(require("./GuildEmojiDeleteEvent"), exports); +__exportStar(require("./GuildEmojiUpdateEvent"), exports); +__exportStar(require("./GuildIntegrationsUpdateEvent"), exports); +__exportStar(require("./GuildMemberAddEvent"), exports); +__exportStar(require("./GuildMemberAvailableEvent"), exports); +__exportStar(require("./GuildMemberRemoveEvent"), exports); +__exportStar(require("./GuildMembersChunkEvents"), exports); +__exportStar(require("./GuildMemberUpdateEvent"), exports); +__exportStar(require("./GuildRoleCreateEvent"), exports); +__exportStar(require("./GuildRoleDeleteEvent"), exports); +__exportStar(require("./GuildRoleUpdateEvent"), exports); +__exportStar(require("./GuildScheduledEventCreateEvent"), exports); +__exportStar(require("./GuildScheduledEventDeleteEvent"), exports); +__exportStar(require("./GuildScheduledEventUpdateEvent"), exports); +__exportStar(require("./GuildScheduledEventUserAddEvent"), exports); +__exportStar(require("./GuildScheduledEventUserRemoveEvent"), exports); +__exportStar(require("./GuildStickerCreateEvent"), exports); +__exportStar(require("./GuildStickerDeleteEvent"), exports); +__exportStar(require("./GuildStickerUpdateEvent"), exports); +__exportStar(require("./GuildUnavailableEvent"), exports); +__exportStar(require("./GuildUpdateEvent"), exports); +__exportStar(require("./GuildEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/guild/index.js.map b/src/guild/index.js.map new file mode 100644 index 0000000..2329953 --- /dev/null +++ b/src/guild/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,wDAAsC;AACtC,qDAAmC;AACnC,wDAAsC;AACtC,qDAAmC;AACnC,0DAAwC;AACxC,0DAAwC;AACxC,0DAAwC;AACxC,iEAA+C;AAC/C,wDAAsC;AACtC,8DAA4C;AAC5C,2DAAyC;AACzC,4DAA0C;AAC1C,2DAAyC;AACzC,yDAAuC;AACvC,yDAAuC;AACvC,yDAAuC;AACvC,mEAAiD;AACjD,mEAAiD;AACjD,mEAAiD;AACjD,oEAAkD;AAClD,uEAAqD;AACrD,4DAA0C;AAC1C,4DAA0C;AAC1C,4DAA0C;AAC1C,0DAAwC;AACxC,qDAAmC;AACnC,+CAA6B"} \ No newline at end of file diff --git a/src/index.d.ts b/src/index.d.ts new file mode 100644 index 0000000..f26c422 --- /dev/null +++ b/src/index.d.ts @@ -0,0 +1,19 @@ +export * from "./Events"; +export * from "./Event"; +export * from "./Listener"; +export * from "./channel/index"; +export * from "./client/index"; +export * from "./guild/index"; +export * from "./interaction/index"; +export * from "./invite/index"; +export * from "./message/index"; +export * from "./moderation/index"; +export * from "./plugin/index"; +export * from "./server/index"; +export * from "./shard/index"; +export * from "./stage/index"; +export * from "./thread/index"; +export * from "./user/index"; +export * from "./voice/index"; +export * from "./webhooks/index"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/index.d.ts.map b/src/index.d.ts.map new file mode 100644 index 0000000..d0e96b0 --- /dev/null +++ b/src/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA"} \ No newline at end of file diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..6d11b1d --- /dev/null +++ b/src/index.js @@ -0,0 +1,35 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./Events"), exports); +__exportStar(require("./Event"), exports); +__exportStar(require("./Listener"), exports); +__exportStar(require("./channel/index"), exports); +__exportStar(require("./client/index"), exports); +__exportStar(require("./guild/index"), exports); +__exportStar(require("./interaction/index"), exports); +__exportStar(require("./invite/index"), exports); +__exportStar(require("./message/index"), exports); +__exportStar(require("./moderation/index"), exports); +__exportStar(require("./plugin/index"), exports); +__exportStar(require("./server/index"), exports); +__exportStar(require("./shard/index"), exports); +__exportStar(require("./stage/index"), exports); +__exportStar(require("./thread/index"), exports); +__exportStar(require("./user/index"), exports); +__exportStar(require("./voice/index"), exports); +__exportStar(require("./webhooks/index"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/index.js.map b/src/index.js.map new file mode 100644 index 0000000..0e40bd1 --- /dev/null +++ b/src/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,0CAAuB;AACvB,6CAA0B;AAC1B,kDAA+B;AAC/B,iDAA8B;AAC9B,gDAA6B;AAC7B,sDAAmC;AACnC,iDAA8B;AAC9B,kDAA+B;AAC/B,qDAAkC;AAClC,iDAA8B;AAC9B,iDAA8B;AAC9B,gDAA6B;AAC7B,gDAA6B;AAC7B,iDAA8B;AAC9B,+CAA4B;AAC5B,gDAA6B;AAC7B,mDAAgC"} \ No newline at end of file diff --git a/src/interaction/InteractionCreateEvent.d.ts b/src/interaction/InteractionCreateEvent.d.ts new file mode 100644 index 0000000..e9052b7 --- /dev/null +++ b/src/interaction/InteractionCreateEvent.d.ts @@ -0,0 +1,6 @@ +import { BaseInteraction } from "discord.js"; +import { InteractionEvent } from "./InteractionEvent"; +export declare class InteractionCreateEvent extends InteractionEvent { + constructor(interaction: BaseInteraction); +} +//# sourceMappingURL=InteractionCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/interaction/InteractionCreateEvent.d.ts.map b/src/interaction/InteractionCreateEvent.d.ts.map new file mode 100644 index 0000000..ef42dbd --- /dev/null +++ b/src/interaction/InteractionCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"InteractionCreateEvent.d.ts","sourceRoot":"","sources":["InteractionCreateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,qBAAa,sBAAuB,SAAQ,gBAAgB;gBAE5C,WAAW,EAAE,eAAe;CAG3C"} \ No newline at end of file diff --git a/src/interaction/InteractionCreateEvent.js b/src/interaction/InteractionCreateEvent.js new file mode 100644 index 0000000..b357726 --- /dev/null +++ b/src/interaction/InteractionCreateEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InteractionCreateEvent = void 0; +const InteractionEvent_1 = require("./InteractionEvent"); +const Events_1 = require("../Events"); +class InteractionCreateEvent extends InteractionEvent_1.InteractionEvent { + constructor(interaction) { + super(Events_1.Events.InteractionCreate, interaction); + } +} +exports.InteractionCreateEvent = InteractionCreateEvent; +//# sourceMappingURL=InteractionCreateEvent.js.map \ No newline at end of file diff --git a/src/interaction/InteractionCreateEvent.js.map b/src/interaction/InteractionCreateEvent.js.map new file mode 100644 index 0000000..baeda51 --- /dev/null +++ b/src/interaction/InteractionCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"InteractionCreateEvent.js","sourceRoot":"","sources":["InteractionCreateEvent.ts"],"names":[],"mappings":";;;AACA,yDAAsD;AACtD,sCAAmC;AAEnC,MAAa,sBAAuB,SAAQ,mCAAgB;IAExD,YAAY,WAA4B;QACpC,KAAK,CAAC,eAAM,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC;IACjD,CAAC;CACJ;AALD,wDAKC"} \ No newline at end of file diff --git a/src/interaction/InteractionEvent.d.ts b/src/interaction/InteractionEvent.d.ts new file mode 100644 index 0000000..1572bb6 --- /dev/null +++ b/src/interaction/InteractionEvent.d.ts @@ -0,0 +1,15 @@ +import { BaseInteraction } from "discord.js"; +import { Event } from "../Event"; +export declare class InteractionEvent extends Event { + interaction: BaseInteraction; + /** + * @param {string} eventName + * @param {BaseInteraction} interaction + */ + constructor(eventName: string, interaction: BaseInteraction); + /** + * @returns {BaseInteraction} + */ + getInteraction(): BaseInteraction; +} +//# sourceMappingURL=InteractionEvent.d.ts.map \ No newline at end of file diff --git a/src/interaction/InteractionEvent.d.ts.map b/src/interaction/InteractionEvent.d.ts.map new file mode 100644 index 0000000..94c8cf8 --- /dev/null +++ b/src/interaction/InteractionEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"InteractionEvent.d.ts","sourceRoot":"","sources":["InteractionEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,qBAAa,gBAAiB,SAAQ,KAAK;IAEvC,WAAW,EAAE,eAAe,CAAC;IAE7B;;;OAGG;gBACS,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe;IAK3D;;OAEG;IACH,cAAc,IAAI,eAAe;CAGpC"} \ No newline at end of file diff --git a/src/interaction/InteractionEvent.js b/src/interaction/InteractionEvent.js new file mode 100644 index 0000000..87cfc01 --- /dev/null +++ b/src/interaction/InteractionEvent.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InteractionEvent = void 0; +const Event_1 = require("../Event"); +class InteractionEvent extends Event_1.Event { + /** + * @param {string} eventName + * @param {BaseInteraction} interaction + */ + constructor(eventName, interaction) { + super(eventName); + this.interaction = interaction; + } + /** + * @returns {BaseInteraction} + */ + getInteraction() { + return this.interaction; + } +} +exports.InteractionEvent = InteractionEvent; +//# sourceMappingURL=InteractionEvent.js.map \ No newline at end of file diff --git a/src/interaction/InteractionEvent.js.map b/src/interaction/InteractionEvent.js.map new file mode 100644 index 0000000..72120d6 --- /dev/null +++ b/src/interaction/InteractionEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"InteractionEvent.js","sourceRoot":"","sources":["InteractionEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AAEjC,MAAa,gBAAiB,SAAQ,aAAK;IAIvC;;;OAGG;IACH,YAAY,SAAiB,EAAE,WAA4B;QACvD,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;IAED;;OAEG;IACH,cAAc;QACV,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CACJ;AAnBD,4CAmBC"} \ No newline at end of file diff --git a/src/interaction/index.d.ts b/src/interaction/index.d.ts new file mode 100644 index 0000000..4c7f597 --- /dev/null +++ b/src/interaction/index.d.ts @@ -0,0 +1,3 @@ +export * from "./InteractionCreateEvent"; +export * from "./InteractionEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/interaction/index.d.ts.map b/src/interaction/index.d.ts.map new file mode 100644 index 0000000..4543c03 --- /dev/null +++ b/src/interaction/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,oBAAoB,CAAA"} \ No newline at end of file diff --git a/src/interaction/index.js b/src/interaction/index.js new file mode 100644 index 0000000..0e283ba --- /dev/null +++ b/src/interaction/index.js @@ -0,0 +1,19 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./InteractionCreateEvent"), exports); +__exportStar(require("./InteractionEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/interaction/index.js.map b/src/interaction/index.js.map new file mode 100644 index 0000000..52d2861 --- /dev/null +++ b/src/interaction/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC;AACxC,qDAAkC"} \ No newline at end of file diff --git a/src/invite/InviteCreateEvent.d.ts b/src/invite/InviteCreateEvent.d.ts new file mode 100644 index 0000000..1ab78e3 --- /dev/null +++ b/src/invite/InviteCreateEvent.d.ts @@ -0,0 +1,6 @@ +import { Invite } from "discord.js"; +import { InviteEvent } from "./InviteEvent"; +export declare class InviteCreateEvent extends InviteEvent { + constructor(invite: Invite); +} +//# sourceMappingURL=InviteCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/invite/InviteCreateEvent.d.ts.map b/src/invite/InviteCreateEvent.d.ts.map new file mode 100644 index 0000000..b5b8f50 --- /dev/null +++ b/src/invite/InviteCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"InviteCreateEvent.d.ts","sourceRoot":"","sources":["InviteCreateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,qBAAa,iBAAkB,SAAQ,WAAW;gBAElC,MAAM,EAAE,MAAM;CAG7B"} \ No newline at end of file diff --git a/src/invite/InviteCreateEvent.js b/src/invite/InviteCreateEvent.js new file mode 100644 index 0000000..f6f8a99 --- /dev/null +++ b/src/invite/InviteCreateEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InviteCreateEvent = void 0; +const InviteEvent_1 = require("./InviteEvent"); +const Events_1 = require("../Events"); +class InviteCreateEvent extends InviteEvent_1.InviteEvent { + constructor(invite) { + super(Events_1.Events.InviteCreate, invite); + } +} +exports.InviteCreateEvent = InviteCreateEvent; +//# sourceMappingURL=InviteCreateEvent.js.map \ No newline at end of file diff --git a/src/invite/InviteCreateEvent.js.map b/src/invite/InviteCreateEvent.js.map new file mode 100644 index 0000000..b23f469 --- /dev/null +++ b/src/invite/InviteCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"InviteCreateEvent.js","sourceRoot":"","sources":["InviteCreateEvent.ts"],"names":[],"mappings":";;;AACA,+CAA4C;AAC5C,sCAAmC;AAEnC,MAAa,iBAAkB,SAAQ,yBAAW;IAE9C,YAAY,MAAc;QACtB,KAAK,CAAC,eAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACvC,CAAC;CACJ;AALD,8CAKC"} \ No newline at end of file diff --git a/src/invite/InviteDeleteEvent.d.ts b/src/invite/InviteDeleteEvent.d.ts new file mode 100644 index 0000000..75ae9f6 --- /dev/null +++ b/src/invite/InviteDeleteEvent.d.ts @@ -0,0 +1,6 @@ +import { Invite } from "discord.js"; +import { InviteEvent } from "./InviteEvent"; +export declare class InviteDeleteEvent extends InviteEvent { + constructor(invite: Invite); +} +//# sourceMappingURL=InviteDeleteEvent.d.ts.map \ No newline at end of file diff --git a/src/invite/InviteDeleteEvent.d.ts.map b/src/invite/InviteDeleteEvent.d.ts.map new file mode 100644 index 0000000..3c33818 --- /dev/null +++ b/src/invite/InviteDeleteEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"InviteDeleteEvent.d.ts","sourceRoot":"","sources":["InviteDeleteEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,qBAAa,iBAAkB,SAAQ,WAAW;gBAElC,MAAM,EAAE,MAAM;CAG7B"} \ No newline at end of file diff --git a/src/invite/InviteDeleteEvent.js b/src/invite/InviteDeleteEvent.js new file mode 100644 index 0000000..ef625e7 --- /dev/null +++ b/src/invite/InviteDeleteEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InviteDeleteEvent = void 0; +const InviteEvent_1 = require("./InviteEvent"); +const Events_1 = require("../Events"); +class InviteDeleteEvent extends InviteEvent_1.InviteEvent { + constructor(invite) { + super(Events_1.Events.InviteDelete, invite); + } +} +exports.InviteDeleteEvent = InviteDeleteEvent; +//# sourceMappingURL=InviteDeleteEvent.js.map \ No newline at end of file diff --git a/src/invite/InviteDeleteEvent.js.map b/src/invite/InviteDeleteEvent.js.map new file mode 100644 index 0000000..7f2bc6f --- /dev/null +++ b/src/invite/InviteDeleteEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"InviteDeleteEvent.js","sourceRoot":"","sources":["InviteDeleteEvent.ts"],"names":[],"mappings":";;;AACA,+CAA4C;AAC5C,sCAAmC;AAEnC,MAAa,iBAAkB,SAAQ,yBAAW;IAE9C,YAAY,MAAc;QACtB,KAAK,CAAC,eAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACvC,CAAC;CACJ;AALD,8CAKC"} \ No newline at end of file diff --git a/src/invite/InviteEvent.d.ts b/src/invite/InviteEvent.d.ts new file mode 100644 index 0000000..32fa395 --- /dev/null +++ b/src/invite/InviteEvent.d.ts @@ -0,0 +1,8 @@ +import { Invite } from "discord.js"; +import { Event } from "../Event"; +export declare class InviteEvent extends Event { + invite: Invite; + constructor(eventName: string, invite: Invite); + getInvite(): Invite; +} +//# sourceMappingURL=InviteEvent.d.ts.map \ No newline at end of file diff --git a/src/invite/InviteEvent.d.ts.map b/src/invite/InviteEvent.d.ts.map new file mode 100644 index 0000000..7c335be --- /dev/null +++ b/src/invite/InviteEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"InviteEvent.d.ts","sourceRoot":"","sources":["InviteEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,qBAAa,WAAY,SAAQ,KAAK;IAClC,MAAM,EAAE,MAAM,CAAC;gBAEH,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAK7C,SAAS,IAAI,MAAM;CAGtB"} \ No newline at end of file diff --git a/src/invite/InviteEvent.js b/src/invite/InviteEvent.js new file mode 100644 index 0000000..a031b4e --- /dev/null +++ b/src/invite/InviteEvent.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InviteEvent = void 0; +const Event_1 = require("../Event"); +class InviteEvent extends Event_1.Event { + constructor(eventName, invite) { + super(eventName); + this.invite = invite; + } + getInvite() { + return this.invite; + } +} +exports.InviteEvent = InviteEvent; +//# sourceMappingURL=InviteEvent.js.map \ No newline at end of file diff --git a/src/invite/InviteEvent.js.map b/src/invite/InviteEvent.js.map new file mode 100644 index 0000000..0d7142b --- /dev/null +++ b/src/invite/InviteEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"InviteEvent.js","sourceRoot":"","sources":["InviteEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AAEjC,MAAa,WAAY,SAAQ,aAAK;IAGlC,YAAY,SAAiB,EAAE,MAAc;QACzC,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED,SAAS;QACL,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;CACJ;AAXD,kCAWC"} \ No newline at end of file diff --git a/src/invite/index.d.ts b/src/invite/index.d.ts new file mode 100644 index 0000000..9da009c --- /dev/null +++ b/src/invite/index.d.ts @@ -0,0 +1,4 @@ +export * from "./InviteCreateEvent"; +export * from "./InviteDeleteEvent"; +export * from "./InviteEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/invite/index.d.ts.map b/src/invite/index.d.ts.map new file mode 100644 index 0000000..074101c --- /dev/null +++ b/src/invite/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA"} \ No newline at end of file diff --git a/src/invite/index.js b/src/invite/index.js new file mode 100644 index 0000000..1250dac --- /dev/null +++ b/src/invite/index.js @@ -0,0 +1,20 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./InviteCreateEvent"), exports); +__exportStar(require("./InviteDeleteEvent"), exports); +__exportStar(require("./InviteEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/invite/index.js.map b/src/invite/index.js.map new file mode 100644 index 0000000..5714094 --- /dev/null +++ b/src/invite/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,sDAAmC;AACnC,gDAA6B"} \ No newline at end of file diff --git a/src/message/MessageDeleteBulkEvent.d.ts b/src/message/MessageDeleteBulkEvent.d.ts new file mode 100644 index 0000000..dd85b8d --- /dev/null +++ b/src/message/MessageDeleteBulkEvent.d.ts @@ -0,0 +1,10 @@ +import { Collection } from "discord.js"; +import { MessageEvent } from "./MessageEvent"; +export declare class MessageDeleteBulkEvent extends MessageEvent { + messages: Collection; + channel: any; + constructor(messages: Collection, channel: any); + getMessages(): Collection; + getChannel(): any; +} +//# sourceMappingURL=MessageDeleteBulkEvent.d.ts.map \ No newline at end of file diff --git a/src/message/MessageDeleteBulkEvent.d.ts.map b/src/message/MessageDeleteBulkEvent.d.ts.map new file mode 100644 index 0000000..4554d4a --- /dev/null +++ b/src/message/MessageDeleteBulkEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageDeleteBulkEvent.d.ts","sourceRoot":"","sources":["MessageDeleteBulkEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,qBAAa,sBAAuB,SAAQ,YAAY;IACpD,QAAQ,EAAE,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAC/B,OAAO,EAAE,GAAG,CAAC;gBAED,QAAQ,EAAE,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,OAAO,EAAE,GAAG;IAMxD,WAAW,IAAI,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC;IAInC,UAAU,IAAI,GAAG;CAGpB"} \ No newline at end of file diff --git a/src/message/MessageDeleteBulkEvent.js b/src/message/MessageDeleteBulkEvent.js new file mode 100644 index 0000000..9fcb016 --- /dev/null +++ b/src/message/MessageDeleteBulkEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MessageDeleteBulkEvent = void 0; +const MessageEvent_1 = require("./MessageEvent"); +const Events_1 = require("../Events"); +class MessageDeleteBulkEvent extends MessageEvent_1.MessageEvent { + constructor(messages, channel) { + super(Events_1.Events.MessageBulkDelete, null); + this.messages = messages; + this.channel = channel; + } + getMessages() { + return this.messages; + } + getChannel() { + return this.channel; + } +} +exports.MessageDeleteBulkEvent = MessageDeleteBulkEvent; +//# sourceMappingURL=MessageDeleteBulkEvent.js.map \ No newline at end of file diff --git a/src/message/MessageDeleteBulkEvent.js.map b/src/message/MessageDeleteBulkEvent.js.map new file mode 100644 index 0000000..e9589b4 --- /dev/null +++ b/src/message/MessageDeleteBulkEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageDeleteBulkEvent.js","sourceRoot":"","sources":["MessageDeleteBulkEvent.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAC9C,sCAAmC;AAEnC,MAAa,sBAAuB,SAAQ,2BAAY;IAIpD,YAAY,QAA8B,EAAE,OAAY;QACpD,KAAK,CAAC,eAAM,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC;QACtC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,WAAW;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAED,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;CACJ;AAjBD,wDAiBC"} \ No newline at end of file diff --git a/src/message/MessageDeleteEvent.d.ts b/src/message/MessageDeleteEvent.d.ts new file mode 100644 index 0000000..bb29e0b --- /dev/null +++ b/src/message/MessageDeleteEvent.d.ts @@ -0,0 +1,6 @@ +import { Message } from "discord.js"; +import { MessageEvent } from "./MessageEvent"; +export declare class MessageDeleteEvent extends MessageEvent { + constructor(message: Message); +} +//# sourceMappingURL=MessageDeleteEvent.d.ts.map \ No newline at end of file diff --git a/src/message/MessageDeleteEvent.d.ts.map b/src/message/MessageDeleteEvent.d.ts.map new file mode 100644 index 0000000..7289596 --- /dev/null +++ b/src/message/MessageDeleteEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageDeleteEvent.d.ts","sourceRoot":"","sources":["MessageDeleteEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,qBAAa,kBAAmB,SAAQ,YAAY;gBACpC,OAAO,EAAE,OAAO;CAG/B"} \ No newline at end of file diff --git a/src/message/MessageDeleteEvent.js b/src/message/MessageDeleteEvent.js new file mode 100644 index 0000000..ae2bf0e --- /dev/null +++ b/src/message/MessageDeleteEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MessageDeleteEvent = void 0; +const MessageEvent_1 = require("./MessageEvent"); +const Events_1 = require("../Events"); +class MessageDeleteEvent extends MessageEvent_1.MessageEvent { + constructor(message) { + super(Events_1.Events.MessageDelete, message); + } +} +exports.MessageDeleteEvent = MessageDeleteEvent; +//# sourceMappingURL=MessageDeleteEvent.js.map \ No newline at end of file diff --git a/src/message/MessageDeleteEvent.js.map b/src/message/MessageDeleteEvent.js.map new file mode 100644 index 0000000..95a7092 --- /dev/null +++ b/src/message/MessageDeleteEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageDeleteEvent.js","sourceRoot":"","sources":["MessageDeleteEvent.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAC9C,sCAAmC;AAEnC,MAAa,kBAAmB,SAAQ,2BAAY;IAChD,YAAY,OAAgB;QACxB,KAAK,CAAC,eAAM,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACzC,CAAC;CACJ;AAJD,gDAIC"} \ No newline at end of file diff --git a/src/message/MessageEvent.d.ts b/src/message/MessageEvent.d.ts new file mode 100644 index 0000000..874cde0 --- /dev/null +++ b/src/message/MessageEvent.d.ts @@ -0,0 +1,15 @@ +import { Message, PartialMessage } from "discord.js"; +import { Event } from "../Event"; +export declare class MessageEvent extends Event { + message: Message | PartialMessage | null; + /** + * @param {string} eventName + * @param {Message|null} message + */ + constructor(eventName: string, message: Message | PartialMessage | null); + /** + * @returns {Message|null} + */ + getMessage(): Message | PartialMessage | null; +} +//# sourceMappingURL=MessageEvent.d.ts.map \ No newline at end of file diff --git a/src/message/MessageEvent.d.ts.map b/src/message/MessageEvent.d.ts.map new file mode 100644 index 0000000..274a73d --- /dev/null +++ b/src/message/MessageEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageEvent.d.ts","sourceRoot":"","sources":["MessageEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,qBAAa,YAAa,SAAQ,KAAK;IAEnC,OAAO,EAAE,OAAO,GAAG,cAAc,GAAG,IAAI,CAAC;IAEzC;;;OAGG;gBACS,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,cAAc,GAAG,IAAI;IAKvE;;OAEG;IACH,UAAU,IAAI,OAAO,GAAG,cAAc,GAAG,IAAI;CAGhD"} \ No newline at end of file diff --git a/src/message/MessageEvent.js b/src/message/MessageEvent.js new file mode 100644 index 0000000..19d06b8 --- /dev/null +++ b/src/message/MessageEvent.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MessageEvent = void 0; +const Event_1 = require("../Event"); +class MessageEvent extends Event_1.Event { + /** + * @param {string} eventName + * @param {Message|null} message + */ + constructor(eventName, message) { + super(eventName); + this.message = message; + } + /** + * @returns {Message|null} + */ + getMessage() { + return this.message; + } +} +exports.MessageEvent = MessageEvent; +//# sourceMappingURL=MessageEvent.js.map \ No newline at end of file diff --git a/src/message/MessageEvent.js.map b/src/message/MessageEvent.js.map new file mode 100644 index 0000000..dbe7c1d --- /dev/null +++ b/src/message/MessageEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageEvent.js","sourceRoot":"","sources":["MessageEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AAEjC,MAAa,YAAa,SAAQ,aAAK;IAInC;;;OAGG;IACH,YAAY,SAAiB,EAAE,OAAwC;QACnE,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED;;OAEG;IACH,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;CACJ;AAnBD,oCAmBC"} \ No newline at end of file diff --git a/src/message/MessageReactionAddEvent.d.ts b/src/message/MessageReactionAddEvent.d.ts new file mode 100644 index 0000000..09906a9 --- /dev/null +++ b/src/message/MessageReactionAddEvent.d.ts @@ -0,0 +1,10 @@ +import { MessageReaction, User } from "discord.js"; +import { MessageEvent } from "./MessageEvent"; +export declare class MessageReactionAddEvent extends MessageEvent { + messageReaction: MessageReaction; + user: User; + constructor(messageReaction: MessageReaction, user: User); + getMessageReaction(): MessageReaction; + getUser(): User; +} +//# sourceMappingURL=MessageReactionAddEvent.d.ts.map \ No newline at end of file diff --git a/src/message/MessageReactionAddEvent.d.ts.map b/src/message/MessageReactionAddEvent.d.ts.map new file mode 100644 index 0000000..5e84e4b --- /dev/null +++ b/src/message/MessageReactionAddEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageReactionAddEvent.d.ts","sourceRoot":"","sources":["MessageReactionAddEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,qBAAa,uBAAwB,SAAQ,YAAY;IACrD,eAAe,EAAE,eAAe,CAAC;IACjC,IAAI,EAAE,IAAI,CAAC;gBAEC,eAAe,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI;IAMxD,kBAAkB,IAAI,eAAe;IAIrC,OAAO,IAAI,IAAI;CAGlB"} \ No newline at end of file diff --git a/src/message/MessageReactionAddEvent.js b/src/message/MessageReactionAddEvent.js new file mode 100644 index 0000000..7745443 --- /dev/null +++ b/src/message/MessageReactionAddEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MessageReactionAddEvent = void 0; +const MessageEvent_1 = require("./MessageEvent"); +const Events_1 = require("../Events"); +class MessageReactionAddEvent extends MessageEvent_1.MessageEvent { + constructor(messageReaction, user) { + super(Events_1.Events.MessageReactionAdd, messageReaction.message); + this.messageReaction = messageReaction; + this.user = user; + } + getMessageReaction() { + return this.messageReaction; + } + getUser() { + return this.user; + } +} +exports.MessageReactionAddEvent = MessageReactionAddEvent; +//# sourceMappingURL=MessageReactionAddEvent.js.map \ No newline at end of file diff --git a/src/message/MessageReactionAddEvent.js.map b/src/message/MessageReactionAddEvent.js.map new file mode 100644 index 0000000..e72a10d --- /dev/null +++ b/src/message/MessageReactionAddEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageReactionAddEvent.js","sourceRoot":"","sources":["MessageReactionAddEvent.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAC9C,sCAAmC;AAEnC,MAAa,uBAAwB,SAAQ,2BAAY;IAIrD,YAAY,eAAgC,EAAE,IAAU;QACpD,KAAK,CAAC,eAAM,CAAC,kBAAkB,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;QAC1D,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,kBAAkB;QACd,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;CACJ;AAjBD,0DAiBC"} \ No newline at end of file diff --git a/src/message/MessageReactionRemoveAllEvent.d.ts b/src/message/MessageReactionRemoveAllEvent.d.ts new file mode 100644 index 0000000..1f205ae --- /dev/null +++ b/src/message/MessageReactionRemoveAllEvent.d.ts @@ -0,0 +1,8 @@ +import { Collection, Message, MessageReaction } from "discord.js"; +import { MessageEvent } from "./MessageEvent"; +export declare class MessageReactionRemoveAllEvent extends MessageEvent { + reactions: Collection; + constructor(message: Message, reactions: Collection); + getReactions(): Collection; +} +//# sourceMappingURL=MessageReactionRemoveAllEvent.d.ts.map \ No newline at end of file diff --git a/src/message/MessageReactionRemoveAllEvent.d.ts.map b/src/message/MessageReactionRemoveAllEvent.d.ts.map new file mode 100644 index 0000000..7aec92c --- /dev/null +++ b/src/message/MessageReactionRemoveAllEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageReactionRemoveAllEvent.d.ts","sourceRoot":"","sources":["MessageReactionRemoveAllEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,qBAAa,6BAA8B,SAAQ,YAAY;IAC3D,SAAS,EAAE,UAAU,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;gBAEnC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,CAAC,MAAM,EAAE,eAAe,CAAC;IAK5E,YAAY,IAAI,UAAU,CAAC,MAAM,EAAE,eAAe,CAAC;CAGtD"} \ No newline at end of file diff --git a/src/message/MessageReactionRemoveAllEvent.js b/src/message/MessageReactionRemoveAllEvent.js new file mode 100644 index 0000000..282c238 --- /dev/null +++ b/src/message/MessageReactionRemoveAllEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MessageReactionRemoveAllEvent = void 0; +const MessageEvent_1 = require("./MessageEvent"); +const Events_1 = require("../Events"); +class MessageReactionRemoveAllEvent extends MessageEvent_1.MessageEvent { + constructor(message, reactions) { + super(Events_1.Events.MessageReactionRemoveAll, message); + this.reactions = reactions; + } + getReactions() { + return this.reactions; + } +} +exports.MessageReactionRemoveAllEvent = MessageReactionRemoveAllEvent; +//# sourceMappingURL=MessageReactionRemoveAllEvent.js.map \ No newline at end of file diff --git a/src/message/MessageReactionRemoveAllEvent.js.map b/src/message/MessageReactionRemoveAllEvent.js.map new file mode 100644 index 0000000..6e25250 --- /dev/null +++ b/src/message/MessageReactionRemoveAllEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageReactionRemoveAllEvent.js","sourceRoot":"","sources":["MessageReactionRemoveAllEvent.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAC9C,sCAAmC;AAEnC,MAAa,6BAA8B,SAAQ,2BAAY;IAG3D,YAAY,OAAgB,EAAE,SAA8C;QACxE,KAAK,CAAC,eAAM,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAED,YAAY;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;CACJ;AAXD,sEAWC"} \ No newline at end of file diff --git a/src/message/MessageReactionRemoveEmojiEvent.d.ts b/src/message/MessageReactionRemoveEmojiEvent.d.ts new file mode 100644 index 0000000..307dbf0 --- /dev/null +++ b/src/message/MessageReactionRemoveEmojiEvent.d.ts @@ -0,0 +1,10 @@ +import { MessageReaction, User } from "discord.js"; +import { MessageEvent } from "./MessageEvent"; +export declare class MessageReactionRemoveEmojiEvent extends MessageEvent { + messageReaction: MessageReaction; + user: User; + constructor(messageReaction: MessageReaction, user: User); + getMessageReaction(): MessageReaction; + getUser(): User; +} +//# sourceMappingURL=MessageReactionRemoveEmojiEvent.d.ts.map \ No newline at end of file diff --git a/src/message/MessageReactionRemoveEmojiEvent.d.ts.map b/src/message/MessageReactionRemoveEmojiEvent.d.ts.map new file mode 100644 index 0000000..17e6c30 --- /dev/null +++ b/src/message/MessageReactionRemoveEmojiEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageReactionRemoveEmojiEvent.d.ts","sourceRoot":"","sources":["MessageReactionRemoveEmojiEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,qBAAa,+BAAgC,SAAQ,YAAY;IAC7D,eAAe,EAAE,eAAe,CAAC;IACjC,IAAI,EAAE,IAAI,CAAC;gBAEC,eAAe,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI;IAMxD,kBAAkB,IAAI,eAAe;IAIrC,OAAO,IAAI,IAAI;CAGlB"} \ No newline at end of file diff --git a/src/message/MessageReactionRemoveEmojiEvent.js b/src/message/MessageReactionRemoveEmojiEvent.js new file mode 100644 index 0000000..ba26c32 --- /dev/null +++ b/src/message/MessageReactionRemoveEmojiEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MessageReactionRemoveEmojiEvent = void 0; +const MessageEvent_1 = require("./MessageEvent"); +const Events_1 = require("../Events"); +class MessageReactionRemoveEmojiEvent extends MessageEvent_1.MessageEvent { + constructor(messageReaction, user) { + super(Events_1.Events.MessageReactionRemoveEmoji, messageReaction.message); + this.messageReaction = messageReaction; + this.user = user; + } + getMessageReaction() { + return this.messageReaction; + } + getUser() { + return this.user; + } +} +exports.MessageReactionRemoveEmojiEvent = MessageReactionRemoveEmojiEvent; +//# sourceMappingURL=MessageReactionRemoveEmojiEvent.js.map \ No newline at end of file diff --git a/src/message/MessageReactionRemoveEmojiEvent.js.map b/src/message/MessageReactionRemoveEmojiEvent.js.map new file mode 100644 index 0000000..2b5c03d --- /dev/null +++ b/src/message/MessageReactionRemoveEmojiEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageReactionRemoveEmojiEvent.js","sourceRoot":"","sources":["MessageReactionRemoveEmojiEvent.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAC9C,sCAAmC;AAEnC,MAAa,+BAAgC,SAAQ,2BAAY;IAI7D,YAAY,eAAgC,EAAE,IAAU;QACpD,KAAK,CAAC,eAAM,CAAC,0BAA0B,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;QAClE,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IACpB,CAAC;IAED,kBAAkB;QACd,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAA;IACpB,CAAC;CACJ;AAjBD,0EAiBC"} \ No newline at end of file diff --git a/src/message/MessageReactionRemoveEmojiEvent.ts b/src/message/MessageReactionRemoveEmojiEvent.ts index 600bfa1..4839363 100644 --- a/src/message/MessageReactionRemoveEmojiEvent.ts +++ b/src/message/MessageReactionRemoveEmojiEvent.ts @@ -4,13 +4,19 @@ import { Events } from "../Events"; export class MessageReactionRemoveEmojiEvent extends MessageEvent { messageReaction: MessageReaction; + user: User; constructor(messageReaction: MessageReaction, user: User) { super(Events.MessageReactionRemoveEmoji, messageReaction.message); this.messageReaction = messageReaction; + this.user = user } getMessageReaction(): MessageReaction { return this.messageReaction; } + + getUser(): User { + return this.user + } } \ No newline at end of file diff --git a/src/message/MessageReactionRemoveEvent.d.ts b/src/message/MessageReactionRemoveEvent.d.ts new file mode 100644 index 0000000..a19f637 --- /dev/null +++ b/src/message/MessageReactionRemoveEvent.d.ts @@ -0,0 +1,10 @@ +import { MessageReaction, User } from "discord.js"; +import { MessageEvent } from "./MessageEvent"; +export declare class MessageReactionRemoveEvent extends MessageEvent { + messageReaction: MessageReaction; + user: User; + constructor(messageReaction: MessageReaction, user: User); + getMessageReaction(): MessageReaction; + getUser(): User; +} +//# sourceMappingURL=MessageReactionRemoveEvent.d.ts.map \ No newline at end of file diff --git a/src/message/MessageReactionRemoveEvent.d.ts.map b/src/message/MessageReactionRemoveEvent.d.ts.map new file mode 100644 index 0000000..a389ffa --- /dev/null +++ b/src/message/MessageReactionRemoveEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageReactionRemoveEvent.d.ts","sourceRoot":"","sources":["MessageReactionRemoveEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,qBAAa,0BAA2B,SAAQ,YAAY;IACxD,eAAe,EAAE,eAAe,CAAC;IACjC,IAAI,EAAE,IAAI,CAAC;gBAEC,eAAe,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI;IAMxD,kBAAkB,IAAI,eAAe;IAIrC,OAAO,IAAI,IAAI;CAGlB"} \ No newline at end of file diff --git a/src/message/MessageReactionRemoveEvent.js b/src/message/MessageReactionRemoveEvent.js new file mode 100644 index 0000000..3134cf2 --- /dev/null +++ b/src/message/MessageReactionRemoveEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MessageReactionRemoveEvent = void 0; +const MessageEvent_1 = require("./MessageEvent"); +const Events_1 = require("../Events"); +class MessageReactionRemoveEvent extends MessageEvent_1.MessageEvent { + constructor(messageReaction, user) { + super(Events_1.Events.MessageReactionRemove, messageReaction.message); + this.messageReaction = messageReaction; + this.user = user; + } + getMessageReaction() { + return this.messageReaction; + } + getUser() { + return this.user; + } +} +exports.MessageReactionRemoveEvent = MessageReactionRemoveEvent; +//# sourceMappingURL=MessageReactionRemoveEvent.js.map \ No newline at end of file diff --git a/src/message/MessageReactionRemoveEvent.js.map b/src/message/MessageReactionRemoveEvent.js.map new file mode 100644 index 0000000..5f4d8fe --- /dev/null +++ b/src/message/MessageReactionRemoveEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageReactionRemoveEvent.js","sourceRoot":"","sources":["MessageReactionRemoveEvent.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAC9C,sCAAmC;AAEnC,MAAa,0BAA2B,SAAQ,2BAAY;IAIxD,YAAY,eAAgC,EAAE,IAAU;QACpD,KAAK,CAAC,eAAM,CAAC,qBAAqB,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;QAC7D,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,kBAAkB;QACd,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;CACJ;AAjBD,gEAiBC"} \ No newline at end of file diff --git a/src/message/MessageUpdateEvent.d.ts b/src/message/MessageUpdateEvent.d.ts new file mode 100644 index 0000000..87f041a --- /dev/null +++ b/src/message/MessageUpdateEvent.d.ts @@ -0,0 +1,8 @@ +import { Message } from "discord.js"; +import { MessageEvent } from "./MessageEvent"; +export declare class MessageUpdateEvent extends MessageEvent { + oldMessage: Message; + constructor(oldMessage: Message, newMessage: Message); + getOldMessage(): Message; +} +//# sourceMappingURL=MessageUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/message/MessageUpdateEvent.d.ts.map b/src/message/MessageUpdateEvent.d.ts.map new file mode 100644 index 0000000..80c2540 --- /dev/null +++ b/src/message/MessageUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageUpdateEvent.d.ts","sourceRoot":"","sources":["MessageUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,qBAAa,kBAAmB,SAAQ,YAAY;IAChD,UAAU,EAAE,OAAO,CAAC;gBAER,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO;IAKpD,aAAa,IAAI,OAAO;CAG3B"} \ No newline at end of file diff --git a/src/message/MessageUpdateEvent.js b/src/message/MessageUpdateEvent.js new file mode 100644 index 0000000..df68b60 --- /dev/null +++ b/src/message/MessageUpdateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MessageUpdateEvent = void 0; +const MessageEvent_1 = require("./MessageEvent"); +const Events_1 = require("../Events"); +class MessageUpdateEvent extends MessageEvent_1.MessageEvent { + constructor(oldMessage, newMessage) { + super(Events_1.Events.MessageCreate, newMessage); + this.oldMessage = oldMessage; + } + getOldMessage() { + return this.oldMessage; + } +} +exports.MessageUpdateEvent = MessageUpdateEvent; +//# sourceMappingURL=MessageUpdateEvent.js.map \ No newline at end of file diff --git a/src/message/MessageUpdateEvent.js.map b/src/message/MessageUpdateEvent.js.map new file mode 100644 index 0000000..c733aaa --- /dev/null +++ b/src/message/MessageUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MessageUpdateEvent.js","sourceRoot":"","sources":["MessageUpdateEvent.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAC9C,sCAAmC;AAEnC,MAAa,kBAAmB,SAAQ,2BAAY;IAGhD,YAAY,UAAmB,EAAE,UAAmB;QAChD,KAAK,CAAC,eAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;QACxC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC;IAED,aAAa;QACT,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;CACJ;AAXD,gDAWC"} \ No newline at end of file diff --git a/src/message/index.d.ts b/src/message/index.d.ts new file mode 100644 index 0000000..86afbed --- /dev/null +++ b/src/message/index.d.ts @@ -0,0 +1,9 @@ +export * from "./MessageDeleteBulkEvent"; +export * from "./MessageDeleteEvent"; +export * from "./MessageReactionAddEvent"; +export * from "./MessageReactionRemoveAllEvent"; +export * from "./MessageReactionRemoveEmojiEvent"; +export * from "./MessageReactionRemoveEvent"; +export * from "./MessageUpdateEvent"; +export * from "./MessageEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/message/index.d.ts.map b/src/message/index.d.ts.map new file mode 100644 index 0000000..27339bf --- /dev/null +++ b/src/message/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"} \ No newline at end of file diff --git a/src/message/index.js b/src/message/index.js new file mode 100644 index 0000000..20b746c --- /dev/null +++ b/src/message/index.js @@ -0,0 +1,25 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./MessageDeleteBulkEvent"), exports); +__exportStar(require("./MessageDeleteEvent"), exports); +__exportStar(require("./MessageReactionAddEvent"), exports); +__exportStar(require("./MessageReactionRemoveAllEvent"), exports); +__exportStar(require("./MessageReactionRemoveEmojiEvent"), exports); +__exportStar(require("./MessageReactionRemoveEvent"), exports); +__exportStar(require("./MessageUpdateEvent"), exports); +__exportStar(require("./MessageEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/message/index.js.map b/src/message/index.js.map new file mode 100644 index 0000000..5f96911 --- /dev/null +++ b/src/message/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,uDAAqC;AACrC,4DAA0C;AAC1C,kEAAgD;AAChD,oEAAkD;AAClD,+DAA6C;AAC7C,uDAAqC;AACrC,iDAA+B"} \ No newline at end of file diff --git a/src/moderation/ApplicationCommandPermissionsUpdateEvent.d.ts b/src/moderation/ApplicationCommandPermissionsUpdateEvent.d.ts new file mode 100644 index 0000000..d2633cb --- /dev/null +++ b/src/moderation/ApplicationCommandPermissionsUpdateEvent.d.ts @@ -0,0 +1,7 @@ +import { ModerationEvent } from "./ModerationEvent"; +export declare class ApplicationCommandPermissionsUpdateEvent extends ModerationEvent { + data: any; + constructor(data: any); + getData(): any; +} +//# sourceMappingURL=ApplicationCommandPermissionsUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/moderation/ApplicationCommandPermissionsUpdateEvent.d.ts.map b/src/moderation/ApplicationCommandPermissionsUpdateEvent.d.ts.map new file mode 100644 index 0000000..424138e --- /dev/null +++ b/src/moderation/ApplicationCommandPermissionsUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ApplicationCommandPermissionsUpdateEvent.d.ts","sourceRoot":"","sources":["ApplicationCommandPermissionsUpdateEvent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,wCAAyC,SAAQ,eAAe;IACzE,IAAI,EAAE,GAAG,CAAC;gBAEE,IAAI,EAAE,GAAG;IAKrB,OAAO,IAAI,GAAG;CAGjB"} \ No newline at end of file diff --git a/src/moderation/ApplicationCommandPermissionsUpdateEvent.js b/src/moderation/ApplicationCommandPermissionsUpdateEvent.js new file mode 100644 index 0000000..ab0891a --- /dev/null +++ b/src/moderation/ApplicationCommandPermissionsUpdateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ApplicationCommandPermissionsUpdateEvent = void 0; +const Events_1 = require("../Events"); +const ModerationEvent_1 = require("./ModerationEvent"); +class ApplicationCommandPermissionsUpdateEvent extends ModerationEvent_1.ModerationEvent { + constructor(data) { + super(Events_1.Events.ApplicationCommandPermissionsUpdate, null); + this.data = data; + } + getData() { + return this.data; + } +} +exports.ApplicationCommandPermissionsUpdateEvent = ApplicationCommandPermissionsUpdateEvent; +//# sourceMappingURL=ApplicationCommandPermissionsUpdateEvent.js.map \ No newline at end of file diff --git a/src/moderation/ApplicationCommandPermissionsUpdateEvent.js.map b/src/moderation/ApplicationCommandPermissionsUpdateEvent.js.map new file mode 100644 index 0000000..714b4ec --- /dev/null +++ b/src/moderation/ApplicationCommandPermissionsUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ApplicationCommandPermissionsUpdateEvent.js","sourceRoot":"","sources":["ApplicationCommandPermissionsUpdateEvent.ts"],"names":[],"mappings":";;;AAAA,sCAAmC;AACnC,uDAAoD;AAEpD,MAAa,wCAAyC,SAAQ,iCAAe;IAGzE,YAAY,IAAS;QACjB,KAAK,CAAC,eAAM,CAAC,mCAAmC,EAAE,IAAI,CAAC,CAAC;QACxD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;CACJ;AAXD,4FAWC"} \ No newline at end of file diff --git a/src/moderation/AutoModerationActionExecutionEvent.d.ts b/src/moderation/AutoModerationActionExecutionEvent.d.ts new file mode 100644 index 0000000..73f208a --- /dev/null +++ b/src/moderation/AutoModerationActionExecutionEvent.d.ts @@ -0,0 +1,7 @@ +import { ModerationEvent } from "./ModerationEvent"; +export declare class AutoModerationActionExecutionEvent extends ModerationEvent { + private autoModerationActionExecution; + constructor(autoModerationActionExecution: any); + getAutoModerationActionExecution(): any; +} +//# sourceMappingURL=AutoModerationActionExecutionEvent.d.ts.map \ No newline at end of file diff --git a/src/moderation/AutoModerationActionExecutionEvent.d.ts.map b/src/moderation/AutoModerationActionExecutionEvent.d.ts.map new file mode 100644 index 0000000..c73c9c8 --- /dev/null +++ b/src/moderation/AutoModerationActionExecutionEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AutoModerationActionExecutionEvent.d.ts","sourceRoot":"","sources":["AutoModerationActionExecutionEvent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,kCAAmC,SAAQ,eAAe;IACnE,OAAO,CAAC,6BAA6B,CAAM;gBAE/B,6BAA6B,EAAE,GAAG;IAK9C,gCAAgC,IAAI,GAAG;CAG1C"} \ No newline at end of file diff --git a/src/moderation/AutoModerationActionExecutionEvent.js b/src/moderation/AutoModerationActionExecutionEvent.js new file mode 100644 index 0000000..0f118a2 --- /dev/null +++ b/src/moderation/AutoModerationActionExecutionEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AutoModerationActionExecutionEvent = void 0; +const Events_1 = require("../Events"); +const ModerationEvent_1 = require("./ModerationEvent"); +class AutoModerationActionExecutionEvent extends ModerationEvent_1.ModerationEvent { + constructor(autoModerationActionExecution) { + super(Events_1.Events.AutoModerationActionExecution, null); + this.autoModerationActionExecution = autoModerationActionExecution; + } + getAutoModerationActionExecution() { + return this.autoModerationActionExecution; + } +} +exports.AutoModerationActionExecutionEvent = AutoModerationActionExecutionEvent; +//# sourceMappingURL=AutoModerationActionExecutionEvent.js.map \ No newline at end of file diff --git a/src/moderation/AutoModerationActionExecutionEvent.js.map b/src/moderation/AutoModerationActionExecutionEvent.js.map new file mode 100644 index 0000000..8a21544 --- /dev/null +++ b/src/moderation/AutoModerationActionExecutionEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AutoModerationActionExecutionEvent.js","sourceRoot":"","sources":["AutoModerationActionExecutionEvent.ts"],"names":[],"mappings":";;;AAAA,sCAAmC;AACnC,uDAAoD;AAEpD,MAAa,kCAAmC,SAAQ,iCAAe;IAGnE,YAAY,6BAAkC;QAC1C,KAAK,CAAC,eAAM,CAAC,6BAA6B,EAAE,IAAI,CAAC,CAAC;QAClD,IAAI,CAAC,6BAA6B,GAAG,6BAA6B,CAAC;IACvE,CAAC;IAED,gCAAgC;QAC5B,OAAO,IAAI,CAAC,6BAA6B,CAAC;IAC9C,CAAC;CACJ;AAXD,gFAWC"} \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleCreateEvent.d.ts b/src/moderation/AutoModerationRuleCreateEvent.d.ts new file mode 100644 index 0000000..a7a813a --- /dev/null +++ b/src/moderation/AutoModerationRuleCreateEvent.d.ts @@ -0,0 +1,6 @@ +import { ModerationEvent } from "./ModerationEvent"; +import { AutoModerationRule } from "discord.js"; +export declare class AutoModerationRuleCreateEvent extends ModerationEvent { + constructor(autoModerationRule: AutoModerationRule); +} +//# sourceMappingURL=AutoModerationRuleCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleCreateEvent.d.ts.map b/src/moderation/AutoModerationRuleCreateEvent.d.ts.map new file mode 100644 index 0000000..469e86b --- /dev/null +++ b/src/moderation/AutoModerationRuleCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AutoModerationRuleCreateEvent.d.ts","sourceRoot":"","sources":["AutoModerationRuleCreateEvent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,qBAAa,6BAA8B,SAAQ,eAAe;gBAClD,kBAAkB,EAAE,kBAAkB;CAGrD"} \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleCreateEvent.js b/src/moderation/AutoModerationRuleCreateEvent.js new file mode 100644 index 0000000..a1a5a6e --- /dev/null +++ b/src/moderation/AutoModerationRuleCreateEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AutoModerationRuleCreateEvent = void 0; +const Events_1 = require("../Events"); +const ModerationEvent_1 = require("./ModerationEvent"); +class AutoModerationRuleCreateEvent extends ModerationEvent_1.ModerationEvent { + constructor(autoModerationRule) { + super(Events_1.Events.AutoModerationRuleCreate, autoModerationRule); + } +} +exports.AutoModerationRuleCreateEvent = AutoModerationRuleCreateEvent; +//# sourceMappingURL=AutoModerationRuleCreateEvent.js.map \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleCreateEvent.js.map b/src/moderation/AutoModerationRuleCreateEvent.js.map new file mode 100644 index 0000000..22dafb1 --- /dev/null +++ b/src/moderation/AutoModerationRuleCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AutoModerationRuleCreateEvent.js","sourceRoot":"","sources":["AutoModerationRuleCreateEvent.ts"],"names":[],"mappings":";;;AAAA,sCAAmC;AACnC,uDAAoD;AAGpD,MAAa,6BAA8B,SAAQ,iCAAe;IAC9D,YAAY,kBAAsC;QAC9C,KAAK,CAAC,eAAM,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAAC;IAC/D,CAAC;CACJ;AAJD,sEAIC"} \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleDeleteEvent.d.ts b/src/moderation/AutoModerationRuleDeleteEvent.d.ts new file mode 100644 index 0000000..887a183 --- /dev/null +++ b/src/moderation/AutoModerationRuleDeleteEvent.d.ts @@ -0,0 +1,6 @@ +import { AutoModerationRule } from "discord.js"; +import { ModerationEvent } from "./ModerationEvent"; +export declare class AutoModerationRuleDeleteEvent extends ModerationEvent { + constructor(autoModerationRule: AutoModerationRule); +} +//# sourceMappingURL=AutoModerationRuleDeleteEvent.d.ts.map \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleDeleteEvent.d.ts.map b/src/moderation/AutoModerationRuleDeleteEvent.d.ts.map new file mode 100644 index 0000000..92c6a52 --- /dev/null +++ b/src/moderation/AutoModerationRuleDeleteEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AutoModerationRuleDeleteEvent.d.ts","sourceRoot":"","sources":["AutoModerationRuleDeleteEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,6BAA8B,SAAQ,eAAe;gBAClD,kBAAkB,EAAE,kBAAkB;CAGrD"} \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleDeleteEvent.js b/src/moderation/AutoModerationRuleDeleteEvent.js new file mode 100644 index 0000000..46ccab7 --- /dev/null +++ b/src/moderation/AutoModerationRuleDeleteEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AutoModerationRuleDeleteEvent = void 0; +const Events_1 = require("../Events"); +const ModerationEvent_1 = require("./ModerationEvent"); +class AutoModerationRuleDeleteEvent extends ModerationEvent_1.ModerationEvent { + constructor(autoModerationRule) { + super(Events_1.Events.AutoModerationRuleDelete, autoModerationRule); + } +} +exports.AutoModerationRuleDeleteEvent = AutoModerationRuleDeleteEvent; +//# sourceMappingURL=AutoModerationRuleDeleteEvent.js.map \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleDeleteEvent.js.map b/src/moderation/AutoModerationRuleDeleteEvent.js.map new file mode 100644 index 0000000..0945c29 --- /dev/null +++ b/src/moderation/AutoModerationRuleDeleteEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AutoModerationRuleDeleteEvent.js","sourceRoot":"","sources":["AutoModerationRuleDeleteEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,uDAAoD;AAEpD,MAAa,6BAA8B,SAAQ,iCAAe;IAC9D,YAAY,kBAAsC;QAC9C,KAAK,CAAC,eAAM,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAAC;IAC/D,CAAC;CACJ;AAJD,sEAIC"} \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleUpdateEvent.d.ts b/src/moderation/AutoModerationRuleUpdateEvent.d.ts new file mode 100644 index 0000000..d04eb62 --- /dev/null +++ b/src/moderation/AutoModerationRuleUpdateEvent.d.ts @@ -0,0 +1,8 @@ +import { ModerationEvent } from "./ModerationEvent"; +import { AutoModerationRule } from "discord.js"; +export declare class AutoModerationRuleUpdateEvent extends ModerationEvent { + oldAutoModerationRule: AutoModerationRule; + constructor(oldAutoModerationRule: AutoModerationRule, newAutoModerationRule: AutoModerationRule); + getOldAutoModerationRule(): AutoModerationRule; +} +//# sourceMappingURL=AutoModerationRuleUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleUpdateEvent.d.ts.map b/src/moderation/AutoModerationRuleUpdateEvent.d.ts.map new file mode 100644 index 0000000..96c4b35 --- /dev/null +++ b/src/moderation/AutoModerationRuleUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AutoModerationRuleUpdateEvent.d.ts","sourceRoot":"","sources":["AutoModerationRuleUpdateEvent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,qBAAa,6BAA8B,SAAQ,eAAe;IAC9D,qBAAqB,EAAE,kBAAkB,CAAC;gBAE9B,qBAAqB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,kBAAkB;IAKhG,wBAAwB,IAAI,kBAAkB;CAGjD"} \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleUpdateEvent.js b/src/moderation/AutoModerationRuleUpdateEvent.js new file mode 100644 index 0000000..1457143 --- /dev/null +++ b/src/moderation/AutoModerationRuleUpdateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AutoModerationRuleUpdateEvent = void 0; +const Events_js_1 = require("../Events.js"); +const ModerationEvent_1 = require("./ModerationEvent"); +class AutoModerationRuleUpdateEvent extends ModerationEvent_1.ModerationEvent { + constructor(oldAutoModerationRule, newAutoModerationRule) { + super(Events_js_1.Events.AutoModerationRuleUpdate, newAutoModerationRule); + this.oldAutoModerationRule = oldAutoModerationRule; + } + getOldAutoModerationRule() { + return this.oldAutoModerationRule; + } +} +exports.AutoModerationRuleUpdateEvent = AutoModerationRuleUpdateEvent; +//# sourceMappingURL=AutoModerationRuleUpdateEvent.js.map \ No newline at end of file diff --git a/src/moderation/AutoModerationRuleUpdateEvent.js.map b/src/moderation/AutoModerationRuleUpdateEvent.js.map new file mode 100644 index 0000000..1600e5e --- /dev/null +++ b/src/moderation/AutoModerationRuleUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AutoModerationRuleUpdateEvent.js","sourceRoot":"","sources":["AutoModerationRuleUpdateEvent.ts"],"names":[],"mappings":";;;AAAA,4CAAsC;AACtC,uDAAoD;AAGpD,MAAa,6BAA8B,SAAQ,iCAAe;IAG9D,YAAY,qBAAyC,EAAE,qBAAyC;QAC5F,KAAK,CAAC,kBAAM,CAAC,wBAAwB,EAAE,qBAAqB,CAAC,CAAC;QAC9D,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;IACvD,CAAC;IAED,wBAAwB;QACpB,OAAO,IAAI,CAAC,qBAAqB,CAAC;IACtC,CAAC;CACJ;AAXD,sEAWC"} \ No newline at end of file diff --git a/src/moderation/ModerationEvent.d.ts b/src/moderation/ModerationEvent.d.ts new file mode 100644 index 0000000..0af36e9 --- /dev/null +++ b/src/moderation/ModerationEvent.d.ts @@ -0,0 +1,8 @@ +import { AutoModerationRule } from "discord.js"; +import { Event } from "../Event.js"; +export declare class ModerationEvent extends Event { + autoModerationRule: AutoModerationRule | null; + constructor(eventName: string, autoModerationRule: AutoModerationRule | null); + getAutoModerationRule(): AutoModerationRule | null; +} +//# sourceMappingURL=ModerationEvent.d.ts.map \ No newline at end of file diff --git a/src/moderation/ModerationEvent.d.ts.map b/src/moderation/ModerationEvent.d.ts.map new file mode 100644 index 0000000..cbd929f --- /dev/null +++ b/src/moderation/ModerationEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ModerationEvent.d.ts","sourceRoot":"","sources":["ModerationEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,qBAAa,eAAgB,SAAQ,KAAK;IACtC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI,CAAC;gBAElC,SAAS,EAAE,MAAM,EAAE,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAK5E,qBAAqB,IAAI,kBAAkB,GAAG,IAAI;CAGrD"} \ No newline at end of file diff --git a/src/moderation/ModerationEvent.js b/src/moderation/ModerationEvent.js new file mode 100644 index 0000000..8b504c4 --- /dev/null +++ b/src/moderation/ModerationEvent.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ModerationEvent = void 0; +const Event_js_1 = require("../Event.js"); +class ModerationEvent extends Event_js_1.Event { + constructor(eventName, autoModerationRule) { + super(eventName); + this.autoModerationRule = autoModerationRule; + } + getAutoModerationRule() { + return this.autoModerationRule; + } +} +exports.ModerationEvent = ModerationEvent; +//# sourceMappingURL=ModerationEvent.js.map \ No newline at end of file diff --git a/src/moderation/ModerationEvent.js.map b/src/moderation/ModerationEvent.js.map new file mode 100644 index 0000000..48bd78d --- /dev/null +++ b/src/moderation/ModerationEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ModerationEvent.js","sourceRoot":"","sources":["ModerationEvent.ts"],"names":[],"mappings":";;;AACA,0CAAoC;AAEpC,MAAa,eAAgB,SAAQ,gBAAK;IAGtC,YAAY,SAAiB,EAAE,kBAA6C;QACxE,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IACjD,CAAC;IAED,qBAAqB;QACjB,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;CACJ;AAXD,0CAWC"} \ No newline at end of file diff --git a/src/moderation/index.d.ts b/src/moderation/index.d.ts new file mode 100644 index 0000000..2f008e9 --- /dev/null +++ b/src/moderation/index.d.ts @@ -0,0 +1,7 @@ +export * from "./ApplicationCommandPermissionsUpdateEvent"; +export * from "./AutoModerationActionExecutionEvent"; +export * from "./AutoModerationRuleCreateEvent"; +export * from "./AutoModerationRuleDeleteEvent"; +export * from "./AutoModerationRuleUpdateEvent"; +export * from "./ModerationEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/moderation/index.d.ts.map b/src/moderation/index.d.ts.map new file mode 100644 index 0000000..a1c2641 --- /dev/null +++ b/src/moderation/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAA;AAC1D,cAAc,sCAAsC,CAAA;AACpD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,mBAAmB,CAAA"} \ No newline at end of file diff --git a/src/moderation/index.js b/src/moderation/index.js new file mode 100644 index 0000000..8ada906 --- /dev/null +++ b/src/moderation/index.js @@ -0,0 +1,23 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./ApplicationCommandPermissionsUpdateEvent"), exports); +__exportStar(require("./AutoModerationActionExecutionEvent"), exports); +__exportStar(require("./AutoModerationRuleCreateEvent"), exports); +__exportStar(require("./AutoModerationRuleDeleteEvent"), exports); +__exportStar(require("./AutoModerationRuleUpdateEvent"), exports); +__exportStar(require("./ModerationEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/moderation/index.js.map b/src/moderation/index.js.map new file mode 100644 index 0000000..764e245 --- /dev/null +++ b/src/moderation/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6EAA0D;AAC1D,uEAAoD;AACpD,kEAA+C;AAC/C,kEAA+C;AAC/C,kEAA+C;AAC/C,oDAAiC"} \ No newline at end of file diff --git a/src/plugin/PluginDisableEvent.d.ts b/src/plugin/PluginDisableEvent.d.ts new file mode 100644 index 0000000..9e7d18f --- /dev/null +++ b/src/plugin/PluginDisableEvent.d.ts @@ -0,0 +1,5 @@ +import { PluginEvent } from "./PluginEvent"; +export declare class PluginDisableEvent extends PluginEvent { + constructor(plugin: any); +} +//# sourceMappingURL=PluginDisableEvent.d.ts.map \ No newline at end of file diff --git a/src/plugin/PluginDisableEvent.d.ts.map b/src/plugin/PluginDisableEvent.d.ts.map new file mode 100644 index 0000000..1ae1a47 --- /dev/null +++ b/src/plugin/PluginDisableEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PluginDisableEvent.d.ts","sourceRoot":"","sources":["PluginDisableEvent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,kBAAmB,SAAQ,WAAW;gBACnC,MAAM,EAAE,GAAG;CAG1B"} \ No newline at end of file diff --git a/src/plugin/PluginDisableEvent.js b/src/plugin/PluginDisableEvent.js new file mode 100644 index 0000000..06c95a1 --- /dev/null +++ b/src/plugin/PluginDisableEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PluginDisableEvent = void 0; +const Events_1 = require("../Events"); +const PluginEvent_1 = require("./PluginEvent"); +class PluginDisableEvent extends PluginEvent_1.PluginEvent { + constructor(plugin) { + super(Events_1.Events.PluginDisable, plugin); + } +} +exports.PluginDisableEvent = PluginDisableEvent; +//# sourceMappingURL=PluginDisableEvent.js.map \ No newline at end of file diff --git a/src/plugin/PluginDisableEvent.js.map b/src/plugin/PluginDisableEvent.js.map new file mode 100644 index 0000000..00fd10c --- /dev/null +++ b/src/plugin/PluginDisableEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PluginDisableEvent.js","sourceRoot":"","sources":["PluginDisableEvent.ts"],"names":[],"mappings":";;;AAAA,sCAAmC;AACnC,+CAA4C;AAE5C,MAAa,kBAAmB,SAAQ,yBAAW;IAC/C,YAAY,MAAW;QACnB,KAAK,CAAC,eAAM,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IACxC,CAAC;CACJ;AAJD,gDAIC"} \ No newline at end of file diff --git a/src/plugin/PluginEnableEvent.d.ts b/src/plugin/PluginEnableEvent.d.ts new file mode 100644 index 0000000..b5e1fae --- /dev/null +++ b/src/plugin/PluginEnableEvent.d.ts @@ -0,0 +1,5 @@ +import { PluginEvent } from "./PluginEvent"; +export declare class PluginEnableEvent extends PluginEvent { + constructor(plugin: any); +} +//# sourceMappingURL=PluginEnableEvent.d.ts.map \ No newline at end of file diff --git a/src/plugin/PluginEnableEvent.d.ts.map b/src/plugin/PluginEnableEvent.d.ts.map new file mode 100644 index 0000000..6d13415 --- /dev/null +++ b/src/plugin/PluginEnableEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PluginEnableEvent.d.ts","sourceRoot":"","sources":["PluginEnableEvent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,iBAAkB,SAAQ,WAAW;gBAClC,MAAM,EAAE,GAAG;CAG1B"} \ No newline at end of file diff --git a/src/plugin/PluginEnableEvent.js b/src/plugin/PluginEnableEvent.js new file mode 100644 index 0000000..756ca1d --- /dev/null +++ b/src/plugin/PluginEnableEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PluginEnableEvent = void 0; +const Events_1 = require("../Events"); +const PluginEvent_1 = require("./PluginEvent"); +class PluginEnableEvent extends PluginEvent_1.PluginEvent { + constructor(plugin) { + super(Events_1.Events.PluginEnable, plugin); + } +} +exports.PluginEnableEvent = PluginEnableEvent; +//# sourceMappingURL=PluginEnableEvent.js.map \ No newline at end of file diff --git a/src/plugin/PluginEnableEvent.js.map b/src/plugin/PluginEnableEvent.js.map new file mode 100644 index 0000000..8ee4351 --- /dev/null +++ b/src/plugin/PluginEnableEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PluginEnableEvent.js","sourceRoot":"","sources":["PluginEnableEvent.ts"],"names":[],"mappings":";;;AAAA,sCAAmC;AACnC,+CAA4C;AAE5C,MAAa,iBAAkB,SAAQ,yBAAW;IAC9C,YAAY,MAAW;QACnB,KAAK,CAAC,eAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACvC,CAAC;CACJ;AAJD,8CAIC"} \ No newline at end of file diff --git a/src/plugin/PluginEvent.d.ts b/src/plugin/PluginEvent.d.ts new file mode 100644 index 0000000..03e3b17 --- /dev/null +++ b/src/plugin/PluginEvent.d.ts @@ -0,0 +1,7 @@ +import { Event } from "../Event"; +export declare class PluginEvent extends Event { + plugin: any; + constructor(eventName: string, plugin: any); + getPlugin(): any; +} +//# sourceMappingURL=PluginEvent.d.ts.map \ No newline at end of file diff --git a/src/plugin/PluginEvent.d.ts.map b/src/plugin/PluginEvent.d.ts.map new file mode 100644 index 0000000..d30c52b --- /dev/null +++ b/src/plugin/PluginEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PluginEvent.d.ts","sourceRoot":"","sources":["PluginEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,qBAAa,WAAY,SAAQ,KAAK;IAClC,MAAM,EAAE,GAAG,CAAC;gBAEA,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG;IAK1C,SAAS,IAAI,GAAG;CAGnB"} \ No newline at end of file diff --git a/src/plugin/PluginEvent.js b/src/plugin/PluginEvent.js new file mode 100644 index 0000000..754e33b --- /dev/null +++ b/src/plugin/PluginEvent.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PluginEvent = void 0; +const Event_1 = require("../Event"); +class PluginEvent extends Event_1.Event { + constructor(eventName, plugin) { + super(eventName); + this.plugin = plugin; + } + getPlugin() { + return this.plugin; + } +} +exports.PluginEvent = PluginEvent; +//# sourceMappingURL=PluginEvent.js.map \ No newline at end of file diff --git a/src/plugin/PluginEvent.js.map b/src/plugin/PluginEvent.js.map new file mode 100644 index 0000000..7df7401 --- /dev/null +++ b/src/plugin/PluginEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PluginEvent.js","sourceRoot":"","sources":["PluginEvent.ts"],"names":[],"mappings":";;;AAAA,oCAAiC;AAEjC,MAAa,WAAY,SAAQ,aAAK;IAGlC,YAAY,SAAiB,EAAE,MAAW;QACtC,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED,SAAS;QACL,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;CACJ;AAXD,kCAWC"} \ No newline at end of file diff --git a/src/plugin/index.d.ts b/src/plugin/index.d.ts new file mode 100644 index 0000000..7b9c558 --- /dev/null +++ b/src/plugin/index.d.ts @@ -0,0 +1,4 @@ +export * from "./PluginEnableEvent"; +export * from "./PluginDisableEvent"; +export * from "./PluginEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/plugin/index.d.ts.map b/src/plugin/index.d.ts.map new file mode 100644 index 0000000..9ee9aa1 --- /dev/null +++ b/src/plugin/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA"} \ No newline at end of file diff --git a/src/plugin/index.js b/src/plugin/index.js new file mode 100644 index 0000000..ad278fd --- /dev/null +++ b/src/plugin/index.js @@ -0,0 +1,20 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./PluginEnableEvent"), exports); +__exportStar(require("./PluginDisableEvent"), exports); +__exportStar(require("./PluginEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/plugin/index.js.map b/src/plugin/index.js.map new file mode 100644 index 0000000..8b10413 --- /dev/null +++ b/src/plugin/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,uDAAoC;AACpC,gDAA6B"} \ No newline at end of file diff --git a/src/server/DataPacketReceiveEvent.d.ts b/src/server/DataPacketReceiveEvent.d.ts new file mode 100644 index 0000000..370cd16 --- /dev/null +++ b/src/server/DataPacketReceiveEvent.d.ts @@ -0,0 +1,7 @@ +import { ServerEvent } from "./ServerEvent"; +export declare class DataPacketReceiveEvent extends ServerEvent { + packet: any; + constructor(packet: any); + getPacket(): any; +} +//# sourceMappingURL=DataPacketReceiveEvent.d.ts.map \ No newline at end of file diff --git a/src/server/DataPacketReceiveEvent.d.ts.map b/src/server/DataPacketReceiveEvent.d.ts.map new file mode 100644 index 0000000..36a0cfc --- /dev/null +++ b/src/server/DataPacketReceiveEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"DataPacketReceiveEvent.d.ts","sourceRoot":"","sources":["DataPacketReceiveEvent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,sBAAuB,SAAQ,WAAW;IACnD,MAAM,EAAE,GAAG,CAAC;gBAEA,MAAM,EAAE,GAAG;IAKvB,SAAS,IAAI,GAAG;CAGnB"} \ No newline at end of file diff --git a/src/server/DataPacketReceiveEvent.js b/src/server/DataPacketReceiveEvent.js new file mode 100644 index 0000000..3d25321 --- /dev/null +++ b/src/server/DataPacketReceiveEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DataPacketReceiveEvent = void 0; +const Events_1 = require("../Events"); +const ServerEvent_1 = require("./ServerEvent"); +class DataPacketReceiveEvent extends ServerEvent_1.ServerEvent { + constructor(packet) { + super(Events_1.Events.DataPacketReceive); + this.packet = packet; + } + getPacket() { + return this.packet; + } +} +exports.DataPacketReceiveEvent = DataPacketReceiveEvent; +//# sourceMappingURL=DataPacketReceiveEvent.js.map \ No newline at end of file diff --git a/src/server/DataPacketReceiveEvent.js.map b/src/server/DataPacketReceiveEvent.js.map new file mode 100644 index 0000000..0f1dcfa --- /dev/null +++ b/src/server/DataPacketReceiveEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"DataPacketReceiveEvent.js","sourceRoot":"","sources":["DataPacketReceiveEvent.ts"],"names":[],"mappings":";;;AAAA,sCAAmC;AACnC,+CAA4C;AAE5C,MAAa,sBAAuB,SAAQ,yBAAW;IAGnD,YAAY,MAAW;QACnB,KAAK,CAAC,eAAM,CAAC,iBAAiB,CAAC,CAAC;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED,SAAS;QACL,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;CACJ;AAXD,wDAWC"} \ No newline at end of file diff --git a/src/server/ServerEvent.d.ts b/src/server/ServerEvent.d.ts new file mode 100644 index 0000000..1c18b34 --- /dev/null +++ b/src/server/ServerEvent.d.ts @@ -0,0 +1,5 @@ +import { Event } from "../Event"; +export declare class ServerEvent extends Event { + constructor(eventName: string); +} +//# sourceMappingURL=ServerEvent.d.ts.map \ No newline at end of file diff --git a/src/server/ServerEvent.d.ts.map b/src/server/ServerEvent.d.ts.map new file mode 100644 index 0000000..18e9a15 --- /dev/null +++ b/src/server/ServerEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ServerEvent.d.ts","sourceRoot":"","sources":["ServerEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,qBAAa,WAAY,SAAQ,KAAK;gBACtB,SAAS,EAAE,MAAM;CAGhC"} \ No newline at end of file diff --git a/src/server/ServerEvent.js b/src/server/ServerEvent.js new file mode 100644 index 0000000..63fad60 --- /dev/null +++ b/src/server/ServerEvent.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ServerEvent = void 0; +const Event_1 = require("../Event"); +class ServerEvent extends Event_1.Event { + constructor(eventName) { + super(eventName); + } +} +exports.ServerEvent = ServerEvent; +//# sourceMappingURL=ServerEvent.js.map \ No newline at end of file diff --git a/src/server/ServerEvent.js.map b/src/server/ServerEvent.js.map new file mode 100644 index 0000000..6b8d9be --- /dev/null +++ b/src/server/ServerEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ServerEvent.js","sourceRoot":"","sources":["ServerEvent.ts"],"names":[],"mappings":";;;AAAA,oCAAiC;AAGjC,MAAa,WAAY,SAAQ,aAAK;IAClC,YAAY,SAAiB;QACzB,KAAK,CAAC,SAAS,CAAC,CAAC;IACrB,CAAC;CACJ;AAJD,kCAIC"} \ No newline at end of file diff --git a/src/server/index.d.ts b/src/server/index.d.ts new file mode 100644 index 0000000..cb3c539 --- /dev/null +++ b/src/server/index.d.ts @@ -0,0 +1,3 @@ +export * from "./DataPacketReceiveEvent"; +export * from "./ServerEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/server/index.d.ts.map b/src/server/index.d.ts.map new file mode 100644 index 0000000..ea57e63 --- /dev/null +++ b/src/server/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA"} \ No newline at end of file diff --git a/src/server/index.js b/src/server/index.js new file mode 100644 index 0000000..b6b7356 --- /dev/null +++ b/src/server/index.js @@ -0,0 +1,19 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./DataPacketReceiveEvent"), exports); +__exportStar(require("./ServerEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/server/index.js.map b/src/server/index.js.map new file mode 100644 index 0000000..94e1668 --- /dev/null +++ b/src/server/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC;AACxC,gDAA6B"} \ No newline at end of file diff --git a/src/shard/ShardDisconnectEvent.d.ts b/src/shard/ShardDisconnectEvent.d.ts new file mode 100644 index 0000000..bf4b91e --- /dev/null +++ b/src/shard/ShardDisconnectEvent.d.ts @@ -0,0 +1,9 @@ +import { Event } from "../Event"; +export declare class ShardDisconnectEvent extends Event { + closeEvent: any; + id: number; + constructor(closeEvent: any, id: number); + getCloseEvent(): any; + getId(): number; +} +//# sourceMappingURL=ShardDisconnectEvent.d.ts.map \ No newline at end of file diff --git a/src/shard/ShardDisconnectEvent.d.ts.map b/src/shard/ShardDisconnectEvent.d.ts.map new file mode 100644 index 0000000..fdbe023 --- /dev/null +++ b/src/shard/ShardDisconnectEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ShardDisconnectEvent.d.ts","sourceRoot":"","sources":["ShardDisconnectEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,qBAAa,oBAAqB,SAAQ,KAAK;IAC3C,UAAU,EAAE,GAAG,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;gBAEC,UAAU,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM;IAMvC,aAAa,IAAI,GAAG;IAIpB,KAAK,IAAI,MAAM;CAGlB"} \ No newline at end of file diff --git a/src/shard/ShardDisconnectEvent.js b/src/shard/ShardDisconnectEvent.js new file mode 100644 index 0000000..bb54164 --- /dev/null +++ b/src/shard/ShardDisconnectEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShardDisconnectEvent = void 0; +const Event_1 = require("../Event"); +const Events_1 = require("../Events"); +class ShardDisconnectEvent extends Event_1.Event { + constructor(closeEvent, id) { + super(Events_1.Events.ShardDisconnect); + this.closeEvent = closeEvent; + this.id = id; + } + getCloseEvent() { + return this.closeEvent; + } + getId() { + return this.id; + } +} +exports.ShardDisconnectEvent = ShardDisconnectEvent; +//# sourceMappingURL=ShardDisconnectEvent.js.map \ No newline at end of file diff --git a/src/shard/ShardDisconnectEvent.js.map b/src/shard/ShardDisconnectEvent.js.map new file mode 100644 index 0000000..8d869df --- /dev/null +++ b/src/shard/ShardDisconnectEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ShardDisconnectEvent.js","sourceRoot":"","sources":["ShardDisconnectEvent.ts"],"names":[],"mappings":";;;AAAA,oCAAiC;AACjC,sCAAmC;AAEnC,MAAa,oBAAqB,SAAQ,aAAK;IAI3C,YAAY,UAAe,EAAE,EAAU;QACnC,KAAK,CAAC,eAAM,CAAC,eAAe,CAAC,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACjB,CAAC;IAED,aAAa;QACT,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IAED,KAAK;QACD,OAAO,IAAI,CAAC,EAAE,CAAC;IACnB,CAAC;CACJ;AAjBD,oDAiBC"} \ No newline at end of file diff --git a/src/shard/ShardErrorEvent.d.ts b/src/shard/ShardErrorEvent.d.ts new file mode 100644 index 0000000..7938534 --- /dev/null +++ b/src/shard/ShardErrorEvent.d.ts @@ -0,0 +1,9 @@ +import { Event } from "../Event"; +export declare class ShardErrorEvent extends Event { + error: Error; + shardId: number; + constructor(error: Error, shardId: number); + getError(): Error; + getShardId(): number; +} +//# sourceMappingURL=ShardErrorEvent.d.ts.map \ No newline at end of file diff --git a/src/shard/ShardErrorEvent.d.ts.map b/src/shard/ShardErrorEvent.d.ts.map new file mode 100644 index 0000000..7304681 --- /dev/null +++ b/src/shard/ShardErrorEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ShardErrorEvent.d.ts","sourceRoot":"","sources":["ShardErrorEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,qBAAa,eAAgB,SAAQ,KAAK;IACtC,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;gBAEJ,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM;IAMzC,QAAQ,IAAI,KAAK;IAIjB,UAAU,IAAI,MAAM;CAGvB"} \ No newline at end of file diff --git a/src/shard/ShardErrorEvent.js b/src/shard/ShardErrorEvent.js new file mode 100644 index 0000000..cf4e46a --- /dev/null +++ b/src/shard/ShardErrorEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShardErrorEvent = void 0; +const Event_1 = require("../Event"); +const Events_1 = require("../Events"); +class ShardErrorEvent extends Event_1.Event { + constructor(error, shardId) { + super(Events_1.Events.ShardError); + this.error = error; + this.shardId = shardId; + } + getError() { + return this.error; + } + getShardId() { + return this.shardId; + } +} +exports.ShardErrorEvent = ShardErrorEvent; +//# sourceMappingURL=ShardErrorEvent.js.map \ No newline at end of file diff --git a/src/shard/ShardErrorEvent.js.map b/src/shard/ShardErrorEvent.js.map new file mode 100644 index 0000000..ffdba13 --- /dev/null +++ b/src/shard/ShardErrorEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ShardErrorEvent.js","sourceRoot":"","sources":["ShardErrorEvent.ts"],"names":[],"mappings":";;;AAAA,oCAAiC;AACjC,sCAAmC;AAEnC,MAAa,eAAgB,SAAQ,aAAK;IAItC,YAAY,KAAY,EAAE,OAAe;QACrC,KAAK,CAAC,eAAM,CAAC,UAAU,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAED,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;CACJ;AAjBD,0CAiBC"} \ No newline at end of file diff --git a/src/shard/ShardReadyEvent.d.ts b/src/shard/ShardReadyEvent.d.ts new file mode 100644 index 0000000..12b223a --- /dev/null +++ b/src/shard/ShardReadyEvent.d.ts @@ -0,0 +1,9 @@ +import { Event } from "../Event"; +export declare class ShardReadyEvent extends Event { + id: number; + unavailableGuilds: Set; + constructor(id: number, unavailableGuilds: Set); + getId(): number; + getUnavailableGuilds(): Set; +} +//# sourceMappingURL=ShardReadyEvent.d.ts.map \ No newline at end of file diff --git a/src/shard/ShardReadyEvent.d.ts.map b/src/shard/ShardReadyEvent.d.ts.map new file mode 100644 index 0000000..d0bc412 --- /dev/null +++ b/src/shard/ShardReadyEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ShardReadyEvent.d.ts","sourceRoot":"","sources":["ShardReadyEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,qBAAa,eAAgB,SAAQ,KAAK;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;gBAEhB,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,CAAC,GAAG,CAAC;IAMnD,KAAK,IAAI,MAAM;IAIf,oBAAoB,IAAI,GAAG,CAAC,GAAG,CAAC;CAGnC"} \ No newline at end of file diff --git a/src/shard/ShardReadyEvent.js b/src/shard/ShardReadyEvent.js new file mode 100644 index 0000000..8eadc51 --- /dev/null +++ b/src/shard/ShardReadyEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShardReadyEvent = void 0; +const Event_1 = require("../Event"); +const Events_1 = require("../Events"); +class ShardReadyEvent extends Event_1.Event { + constructor(id, unavailableGuilds) { + super(Events_1.Events.ShardReady); + this.id = id; + this.unavailableGuilds = unavailableGuilds; + } + getId() { + return this.id; + } + getUnavailableGuilds() { + return this.unavailableGuilds; + } +} +exports.ShardReadyEvent = ShardReadyEvent; +//# sourceMappingURL=ShardReadyEvent.js.map \ No newline at end of file diff --git a/src/shard/ShardReadyEvent.js.map b/src/shard/ShardReadyEvent.js.map new file mode 100644 index 0000000..7fcd8cd --- /dev/null +++ b/src/shard/ShardReadyEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ShardReadyEvent.js","sourceRoot":"","sources":["ShardReadyEvent.ts"],"names":[],"mappings":";;;AAAA,oCAAiC;AACjC,sCAAmC;AAEnC,MAAa,eAAgB,SAAQ,aAAK;IAItC,YAAY,EAAU,EAAE,iBAA2B;QAC/C,KAAK,CAAC,eAAM,CAAC,UAAU,CAAC,CAAC;QACzB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,CAAC;IAED,KAAK;QACD,OAAO,IAAI,CAAC,EAAE,CAAC;IACnB,CAAC;IAED,oBAAoB;QAChB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAClC,CAAC;CACJ;AAjBD,0CAiBC"} \ No newline at end of file diff --git a/src/shard/ShardReconnectingEvent.d.ts b/src/shard/ShardReconnectingEvent.d.ts new file mode 100644 index 0000000..727c7f8 --- /dev/null +++ b/src/shard/ShardReconnectingEvent.d.ts @@ -0,0 +1,9 @@ +import { Event } from "../Event"; +export declare class ShardReconnectingEvent extends Event { + id: number; + unavailableGuilds: any[]; + constructor(id: number, unavailableGuilds: any[]); + getId(): number; + getUnavailableGuilds(): any[]; +} +//# sourceMappingURL=ShardReconnectingEvent.d.ts.map \ No newline at end of file diff --git a/src/shard/ShardReconnectingEvent.d.ts.map b/src/shard/ShardReconnectingEvent.d.ts.map new file mode 100644 index 0000000..002d395 --- /dev/null +++ b/src/shard/ShardReconnectingEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ShardReconnectingEvent.d.ts","sourceRoot":"","sources":["ShardReconnectingEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,qBAAa,sBAAuB,SAAQ,KAAK;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,EAAE,GAAG,EAAE,CAAC;gBAEb,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,EAAE;IAMhD,KAAK,IAAI,MAAM;IAIf,oBAAoB,IAAI,GAAG,EAAE;CAGhC"} \ No newline at end of file diff --git a/src/shard/ShardReconnectingEvent.js b/src/shard/ShardReconnectingEvent.js new file mode 100644 index 0000000..9430dcc --- /dev/null +++ b/src/shard/ShardReconnectingEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShardReconnectingEvent = void 0; +const Event_1 = require("../Event"); +const Events_1 = require("../Events"); +class ShardReconnectingEvent extends Event_1.Event { + constructor(id, unavailableGuilds) { + super(Events_1.Events.ShardReconnecting); + this.id = id; + this.unavailableGuilds = unavailableGuilds; + } + getId() { + return this.id; + } + getUnavailableGuilds() { + return this.unavailableGuilds; + } +} +exports.ShardReconnectingEvent = ShardReconnectingEvent; +//# sourceMappingURL=ShardReconnectingEvent.js.map \ No newline at end of file diff --git a/src/shard/ShardReconnectingEvent.js.map b/src/shard/ShardReconnectingEvent.js.map new file mode 100644 index 0000000..0d75477 --- /dev/null +++ b/src/shard/ShardReconnectingEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ShardReconnectingEvent.js","sourceRoot":"","sources":["ShardReconnectingEvent.ts"],"names":[],"mappings":";;;AAAA,oCAAiC;AACjC,sCAAmC;AAEnC,MAAa,sBAAuB,SAAQ,aAAK;IAI7C,YAAY,EAAU,EAAE,iBAAwB;QAC5C,KAAK,CAAC,eAAM,CAAC,iBAAiB,CAAC,CAAC;QAChC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,CAAC;IAED,KAAK;QACD,OAAO,IAAI,CAAC,EAAE,CAAC;IACnB,CAAC;IAED,oBAAoB;QAChB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAClC,CAAC;CACJ;AAjBD,wDAiBC"} \ No newline at end of file diff --git a/src/shard/ShardReconnectingEvent.ts b/src/shard/ShardReconnectingEvent.ts index 0da56f2..b7cc5c5 100644 --- a/src/shard/ShardReconnectingEvent.ts +++ b/src/shard/ShardReconnectingEvent.ts @@ -3,13 +3,19 @@ import { Events } from "../Events"; export class ShardReconnectingEvent extends Event { id: number; + unavailableGuilds: any[]; constructor(id: number, unavailableGuilds: any[]) { super(Events.ShardReconnecting); this.id = id; + this.unavailableGuilds = unavailableGuilds; } getId(): number { return this.id; } + + getUnavailableGuilds(): any[] { + return this.unavailableGuilds; + } } \ No newline at end of file diff --git a/src/shard/ShardResumeEvent.d.ts b/src/shard/ShardResumeEvent.d.ts new file mode 100644 index 0000000..d631483 --- /dev/null +++ b/src/shard/ShardResumeEvent.d.ts @@ -0,0 +1,9 @@ +import { Event } from "../Event"; +export declare class ShardResumeEvent extends Event { + id: number; + replayedEvents: number; + constructor(id: number, replayedEvents: number); + getId(): number; + getReplayedEvents(): number; +} +//# sourceMappingURL=ShardResumeEvent.d.ts.map \ No newline at end of file diff --git a/src/shard/ShardResumeEvent.d.ts.map b/src/shard/ShardResumeEvent.d.ts.map new file mode 100644 index 0000000..ec5d286 --- /dev/null +++ b/src/shard/ShardResumeEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ShardResumeEvent.d.ts","sourceRoot":"","sources":["ShardResumeEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,qBAAa,gBAAiB,SAAQ,KAAK;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;gBAEX,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM;IAM9C,KAAK,IAAI,MAAM;IAIf,iBAAiB,IAAI,MAAM;CAG9B"} \ No newline at end of file diff --git a/src/shard/ShardResumeEvent.js b/src/shard/ShardResumeEvent.js new file mode 100644 index 0000000..6f42810 --- /dev/null +++ b/src/shard/ShardResumeEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShardResumeEvent = void 0; +const Event_1 = require("../Event"); +const Events_1 = require("../Events"); +class ShardResumeEvent extends Event_1.Event { + constructor(id, replayedEvents) { + super(Events_1.Events.ShardResume); + this.id = id; + this.replayedEvents = replayedEvents; + } + getId() { + return this.id; + } + getReplayedEvents() { + return this.replayedEvents; + } +} +exports.ShardResumeEvent = ShardResumeEvent; +//# sourceMappingURL=ShardResumeEvent.js.map \ No newline at end of file diff --git a/src/shard/ShardResumeEvent.js.map b/src/shard/ShardResumeEvent.js.map new file mode 100644 index 0000000..0651cc8 --- /dev/null +++ b/src/shard/ShardResumeEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ShardResumeEvent.js","sourceRoot":"","sources":["ShardResumeEvent.ts"],"names":[],"mappings":";;;AAAA,oCAAiC;AACjC,sCAAmC;AAEnC,MAAa,gBAAiB,SAAQ,aAAK;IAIvC,YAAY,EAAU,EAAE,cAAsB;QAC1C,KAAK,CAAC,eAAM,CAAC,WAAW,CAAC,CAAC;QAC1B,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACzC,CAAC;IAED,KAAK;QACD,OAAO,IAAI,CAAC,EAAE,CAAC;IACnB,CAAC;IAED,iBAAiB;QACb,OAAO,IAAI,CAAC,cAAc,CAAC;IAC/B,CAAC;CACJ;AAjBD,4CAiBC"} \ No newline at end of file diff --git a/src/shard/index.d.ts b/src/shard/index.d.ts new file mode 100644 index 0000000..9818027 --- /dev/null +++ b/src/shard/index.d.ts @@ -0,0 +1,7 @@ +export * from "./ShardDisconnectEvent"; +export * from "./ShardErrorEvent"; +export * from "./ShardReadyEvent"; +export * from "./ShardReadyEvent"; +export * from "./ShardReconnectingEvent"; +export * from "./ShardResumeEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/shard/index.d.ts.map b/src/shard/index.d.ts.map new file mode 100644 index 0000000..47adb8c --- /dev/null +++ b/src/shard/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,oBAAoB,CAAA"} \ No newline at end of file diff --git a/src/shard/index.js b/src/shard/index.js new file mode 100644 index 0000000..964ba43 --- /dev/null +++ b/src/shard/index.js @@ -0,0 +1,23 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./ShardDisconnectEvent"), exports); +__exportStar(require("./ShardErrorEvent"), exports); +__exportStar(require("./ShardReadyEvent"), exports); +__exportStar(require("./ShardReadyEvent"), exports); +__exportStar(require("./ShardReconnectingEvent"), exports); +__exportStar(require("./ShardResumeEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/shard/index.js.map b/src/shard/index.js.map new file mode 100644 index 0000000..52f4be8 --- /dev/null +++ b/src/shard/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,oDAAiC;AACjC,oDAAiC;AACjC,oDAAiC;AACjC,2DAAwC;AACxC,qDAAkC"} \ No newline at end of file diff --git a/src/stage/StageEvent.d.ts b/src/stage/StageEvent.d.ts new file mode 100644 index 0000000..8445e76 --- /dev/null +++ b/src/stage/StageEvent.d.ts @@ -0,0 +1,8 @@ +import { StageInstance } from "discord.js"; +import { Event } from "../Event"; +export declare class StageEvent extends Event { + stageInstance: StageInstance; + constructor(eventName: string, stageInstance: StageInstance); + getStageInstance(): StageInstance; +} +//# sourceMappingURL=StageEvent.d.ts.map \ No newline at end of file diff --git a/src/stage/StageEvent.d.ts.map b/src/stage/StageEvent.d.ts.map new file mode 100644 index 0000000..e010e16 --- /dev/null +++ b/src/stage/StageEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"StageEvent.d.ts","sourceRoot":"","sources":["StageEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,qBAAa,UAAW,SAAQ,KAAK;IACjC,aAAa,EAAE,aAAa,CAAC;gBAEjB,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa;IAK3D,gBAAgB,IAAI,aAAa;CAGpC"} \ No newline at end of file diff --git a/src/stage/StageEvent.js b/src/stage/StageEvent.js new file mode 100644 index 0000000..0cb0716 --- /dev/null +++ b/src/stage/StageEvent.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StageEvent = void 0; +const Event_1 = require("../Event"); +class StageEvent extends Event_1.Event { + constructor(eventName, stageInstance) { + super(eventName); + this.stageInstance = stageInstance; + } + getStageInstance() { + return this.stageInstance; + } +} +exports.StageEvent = StageEvent; +//# sourceMappingURL=StageEvent.js.map \ No newline at end of file diff --git a/src/stage/StageEvent.js.map b/src/stage/StageEvent.js.map new file mode 100644 index 0000000..cbc7cdf --- /dev/null +++ b/src/stage/StageEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"StageEvent.js","sourceRoot":"","sources":["StageEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AAEjC,MAAa,UAAW,SAAQ,aAAK;IAGjC,YAAY,SAAiB,EAAE,aAA4B;QACvD,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAED,gBAAgB;QACZ,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;CACJ;AAXD,gCAWC"} \ No newline at end of file diff --git a/src/stage/StageInstanceCreateEvent.d.ts b/src/stage/StageInstanceCreateEvent.d.ts new file mode 100644 index 0000000..af7fd15 --- /dev/null +++ b/src/stage/StageInstanceCreateEvent.d.ts @@ -0,0 +1,5 @@ +import { StageEvent } from "./StageEvent"; +export declare class StageInstanceCreateEvent extends StageEvent { + constructor(stageInstance: any); +} +//# sourceMappingURL=StageInstanceCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/stage/StageInstanceCreateEvent.d.ts.map b/src/stage/StageInstanceCreateEvent.d.ts.map new file mode 100644 index 0000000..36ed8de --- /dev/null +++ b/src/stage/StageInstanceCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"StageInstanceCreateEvent.d.ts","sourceRoot":"","sources":["StageInstanceCreateEvent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,wBAAyB,SAAQ,UAAU;gBACxC,aAAa,EAAE,GAAG;CAGjC"} \ No newline at end of file diff --git a/src/stage/StageInstanceCreateEvent.js b/src/stage/StageInstanceCreateEvent.js new file mode 100644 index 0000000..f1f378e --- /dev/null +++ b/src/stage/StageInstanceCreateEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StageInstanceCreateEvent = void 0; +const Events_1 = require("../Events"); +const StageEvent_1 = require("./StageEvent"); +class StageInstanceCreateEvent extends StageEvent_1.StageEvent { + constructor(stageInstance) { + super(Events_1.Events.StageInstanceCreate, stageInstance); + } +} +exports.StageInstanceCreateEvent = StageInstanceCreateEvent; +//# sourceMappingURL=StageInstanceCreateEvent.js.map \ No newline at end of file diff --git a/src/stage/StageInstanceCreateEvent.js.map b/src/stage/StageInstanceCreateEvent.js.map new file mode 100644 index 0000000..b9c3e33 --- /dev/null +++ b/src/stage/StageInstanceCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"StageInstanceCreateEvent.js","sourceRoot":"","sources":["StageInstanceCreateEvent.ts"],"names":[],"mappings":";;;AAAA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,wBAAyB,SAAQ,uBAAU;IACpD,YAAY,aAAkB;QAC1B,KAAK,CAAC,eAAM,CAAC,mBAAmB,EAAE,aAAa,CAAC,CAAC;IACrD,CAAC;CACJ;AAJD,4DAIC"} \ No newline at end of file diff --git a/src/stage/StageInstanceDeleteEvent.d.ts b/src/stage/StageInstanceDeleteEvent.d.ts new file mode 100644 index 0000000..f160a56 --- /dev/null +++ b/src/stage/StageInstanceDeleteEvent.d.ts @@ -0,0 +1,6 @@ +import { StageInstance } from "discord.js"; +import { StageEvent } from "./StageEvent"; +export declare class StageInstanceDeleteEvent extends StageEvent { + constructor(stageInstance: StageInstance); +} +//# sourceMappingURL=StageInstanceDeleteEvent.d.ts.map \ No newline at end of file diff --git a/src/stage/StageInstanceDeleteEvent.d.ts.map b/src/stage/StageInstanceDeleteEvent.d.ts.map new file mode 100644 index 0000000..8f90f5a --- /dev/null +++ b/src/stage/StageInstanceDeleteEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"StageInstanceDeleteEvent.d.ts","sourceRoot":"","sources":["StageInstanceDeleteEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,wBAAyB,SAAQ,UAAU;gBACxC,aAAa,EAAE,aAAa;CAG3C"} \ No newline at end of file diff --git a/src/stage/StageInstanceDeleteEvent.js b/src/stage/StageInstanceDeleteEvent.js new file mode 100644 index 0000000..f867e4c --- /dev/null +++ b/src/stage/StageInstanceDeleteEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StageInstanceDeleteEvent = void 0; +const Events_1 = require("../Events"); +const StageEvent_1 = require("./StageEvent"); +class StageInstanceDeleteEvent extends StageEvent_1.StageEvent { + constructor(stageInstance) { + super(Events_1.Events.StageInstanceDelete, stageInstance); + } +} +exports.StageInstanceDeleteEvent = StageInstanceDeleteEvent; +//# sourceMappingURL=StageInstanceDeleteEvent.js.map \ No newline at end of file diff --git a/src/stage/StageInstanceDeleteEvent.js.map b/src/stage/StageInstanceDeleteEvent.js.map new file mode 100644 index 0000000..1d77996 --- /dev/null +++ b/src/stage/StageInstanceDeleteEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"StageInstanceDeleteEvent.js","sourceRoot":"","sources":["StageInstanceDeleteEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,wBAAyB,SAAQ,uBAAU;IACpD,YAAY,aAA4B;QACpC,KAAK,CAAC,eAAM,CAAC,mBAAmB,EAAE,aAAa,CAAC,CAAC;IACrD,CAAC;CACJ;AAJD,4DAIC"} \ No newline at end of file diff --git a/src/stage/StageInstanceUpdateEvent.d.ts b/src/stage/StageInstanceUpdateEvent.d.ts new file mode 100644 index 0000000..10fb3ed --- /dev/null +++ b/src/stage/StageInstanceUpdateEvent.d.ts @@ -0,0 +1,8 @@ +import { StageInstance } from "discord.js"; +import { StageEvent } from "./StageEvent"; +export declare class StageInstanceUpdateEvent extends StageEvent { + oldStageInstance: StageInstance; + constructor(oldStageInstance: StageInstance, newStageInstance: StageInstance); + getOldStageInstance(): StageInstance; +} +//# sourceMappingURL=StageInstanceUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/stage/StageInstanceUpdateEvent.d.ts.map b/src/stage/StageInstanceUpdateEvent.d.ts.map new file mode 100644 index 0000000..d27f2bb --- /dev/null +++ b/src/stage/StageInstanceUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"StageInstanceUpdateEvent.d.ts","sourceRoot":"","sources":["StageInstanceUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,wBAAyB,SAAQ,UAAU;IACpD,gBAAgB,EAAE,aAAa,CAAC;gBAEpB,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa;IAK5E,mBAAmB,IAAI,aAAa;CAGvC"} \ No newline at end of file diff --git a/src/stage/StageInstanceUpdateEvent.js b/src/stage/StageInstanceUpdateEvent.js new file mode 100644 index 0000000..bff648a --- /dev/null +++ b/src/stage/StageInstanceUpdateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StageInstanceUpdateEvent = void 0; +const Events_1 = require("../Events"); +const StageEvent_1 = require("./StageEvent"); +class StageInstanceUpdateEvent extends StageEvent_1.StageEvent { + constructor(oldStageInstance, newStageInstance) { + super(Events_1.Events.StageInstanceUpdate, newStageInstance); + this.oldStageInstance = oldStageInstance; + } + getOldStageInstance() { + return this.oldStageInstance; + } +} +exports.StageInstanceUpdateEvent = StageInstanceUpdateEvent; +//# sourceMappingURL=StageInstanceUpdateEvent.js.map \ No newline at end of file diff --git a/src/stage/StageInstanceUpdateEvent.js.map b/src/stage/StageInstanceUpdateEvent.js.map new file mode 100644 index 0000000..7da4662 --- /dev/null +++ b/src/stage/StageInstanceUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"StageInstanceUpdateEvent.js","sourceRoot":"","sources":["StageInstanceUpdateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,6CAA0C;AAE1C,MAAa,wBAAyB,SAAQ,uBAAU;IAGpD,YAAY,gBAA+B,EAAE,gBAA+B;QACxE,KAAK,CAAC,eAAM,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,CAAC;QACpD,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IAC7C,CAAC;IAED,mBAAmB;QACf,OAAO,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;CACJ;AAXD,4DAWC"} \ No newline at end of file diff --git a/src/stage/index.d.ts b/src/stage/index.d.ts new file mode 100644 index 0000000..3749bb6 --- /dev/null +++ b/src/stage/index.d.ts @@ -0,0 +1,5 @@ +export * from "./StageEvent"; +export * from "./StageInstanceCreateEvent"; +export * from "./StageInstanceDeleteEvent"; +export * from "./StageInstanceUpdateEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/stage/index.d.ts.map b/src/stage/index.d.ts.map new file mode 100644 index 0000000..79a6f34 --- /dev/null +++ b/src/stage/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC"} \ No newline at end of file diff --git a/src/stage/index.js b/src/stage/index.js new file mode 100644 index 0000000..8460bea --- /dev/null +++ b/src/stage/index.js @@ -0,0 +1,21 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./StageEvent"), exports); +__exportStar(require("./StageInstanceCreateEvent"), exports); +__exportStar(require("./StageInstanceDeleteEvent"), exports); +__exportStar(require("./StageInstanceUpdateEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/stage/index.js.map b/src/stage/index.js.map new file mode 100644 index 0000000..fc2583b --- /dev/null +++ b/src/stage/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,6DAA2C;AAC3C,6DAA2C;AAC3C,6DAA2C"} \ No newline at end of file diff --git a/src/thread/ThreadCreateEvent.d.ts b/src/thread/ThreadCreateEvent.d.ts new file mode 100644 index 0000000..e982379 --- /dev/null +++ b/src/thread/ThreadCreateEvent.d.ts @@ -0,0 +1,8 @@ +import { ThreadChannel } from "discord.js"; +import { ThreadEvent } from "./ThreadEvent"; +export declare class ThreadCreateEvent extends ThreadEvent { + newlyCreated: boolean; + constructor(thread: ThreadChannel, newlyCreated: boolean); + getNewlyCreated(): boolean; +} +//# sourceMappingURL=ThreadCreateEvent.d.ts.map \ No newline at end of file diff --git a/src/thread/ThreadCreateEvent.d.ts.map b/src/thread/ThreadCreateEvent.d.ts.map new file mode 100644 index 0000000..7656586 --- /dev/null +++ b/src/thread/ThreadCreateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadCreateEvent.d.ts","sourceRoot":"","sources":["ThreadCreateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,iBAAkB,SAAQ,WAAW;IAC9C,YAAY,EAAE,OAAO,CAAC;gBAEV,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,OAAO;IAKxD,eAAe,IAAI,OAAO;CAG7B"} \ No newline at end of file diff --git a/src/thread/ThreadCreateEvent.js b/src/thread/ThreadCreateEvent.js new file mode 100644 index 0000000..c2d8772 --- /dev/null +++ b/src/thread/ThreadCreateEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ThreadCreateEvent = void 0; +const Events_1 = require("../Events"); +const ThreadEvent_1 = require("./ThreadEvent"); +class ThreadCreateEvent extends ThreadEvent_1.ThreadEvent { + constructor(thread, newlyCreated) { + super(Events_1.Events.ThreadCreate, thread); + this.newlyCreated = newlyCreated; + } + getNewlyCreated() { + return this.newlyCreated; + } +} +exports.ThreadCreateEvent = ThreadCreateEvent; +//# sourceMappingURL=ThreadCreateEvent.js.map \ No newline at end of file diff --git a/src/thread/ThreadCreateEvent.js.map b/src/thread/ThreadCreateEvent.js.map new file mode 100644 index 0000000..ad035e9 --- /dev/null +++ b/src/thread/ThreadCreateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadCreateEvent.js","sourceRoot":"","sources":["ThreadCreateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,+CAA4C;AAE5C,MAAa,iBAAkB,SAAQ,yBAAW;IAG9C,YAAY,MAAqB,EAAE,YAAqB;QACpD,KAAK,CAAC,eAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;QACnC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,CAAC;IAED,eAAe;QACX,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;CACJ;AAXD,8CAWC"} \ No newline at end of file diff --git a/src/thread/ThreadDeleteEvent.d.ts b/src/thread/ThreadDeleteEvent.d.ts new file mode 100644 index 0000000..c5ca3e2 --- /dev/null +++ b/src/thread/ThreadDeleteEvent.d.ts @@ -0,0 +1,6 @@ +import { ThreadChannel } from "discord.js"; +import { ThreadEvent } from "./ThreadEvent"; +export declare class ThreadDeleteEvent extends ThreadEvent { + constructor(thread: ThreadChannel); +} +//# sourceMappingURL=ThreadDeleteEvent.d.ts.map \ No newline at end of file diff --git a/src/thread/ThreadDeleteEvent.d.ts.map b/src/thread/ThreadDeleteEvent.d.ts.map new file mode 100644 index 0000000..0ca0d19 --- /dev/null +++ b/src/thread/ThreadDeleteEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadDeleteEvent.d.ts","sourceRoot":"","sources":["ThreadDeleteEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,iBAAkB,SAAQ,WAAW;gBAClC,MAAM,EAAE,aAAa;CAGpC"} \ No newline at end of file diff --git a/src/thread/ThreadDeleteEvent.js b/src/thread/ThreadDeleteEvent.js new file mode 100644 index 0000000..58326c1 --- /dev/null +++ b/src/thread/ThreadDeleteEvent.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ThreadDeleteEvent = void 0; +const Events_1 = require("../Events"); +const ThreadEvent_1 = require("./ThreadEvent"); +class ThreadDeleteEvent extends ThreadEvent_1.ThreadEvent { + constructor(thread) { + super(Events_1.Events.ThreadDelete, thread); + } +} +exports.ThreadDeleteEvent = ThreadDeleteEvent; +//# sourceMappingURL=ThreadDeleteEvent.js.map \ No newline at end of file diff --git a/src/thread/ThreadDeleteEvent.js.map b/src/thread/ThreadDeleteEvent.js.map new file mode 100644 index 0000000..997f143 --- /dev/null +++ b/src/thread/ThreadDeleteEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadDeleteEvent.js","sourceRoot":"","sources":["ThreadDeleteEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,+CAA4C;AAE5C,MAAa,iBAAkB,SAAQ,yBAAW;IAC9C,YAAY,MAAqB;QAC7B,KAAK,CAAC,eAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACvC,CAAC;CACJ;AAJD,8CAIC"} \ No newline at end of file diff --git a/src/thread/ThreadEvent.d.ts b/src/thread/ThreadEvent.d.ts new file mode 100644 index 0000000..e8542a1 --- /dev/null +++ b/src/thread/ThreadEvent.d.ts @@ -0,0 +1,8 @@ +import { ThreadChannel } from "discord.js"; +import { Event } from "../Event"; +export declare class ThreadEvent extends Event { + thread: ThreadChannel | undefined; + constructor(eventName: string, thread: ThreadChannel | undefined); + getThread(): ThreadChannel | undefined; +} +//# sourceMappingURL=ThreadEvent.d.ts.map \ No newline at end of file diff --git a/src/thread/ThreadEvent.d.ts.map b/src/thread/ThreadEvent.d.ts.map new file mode 100644 index 0000000..1476478 --- /dev/null +++ b/src/thread/ThreadEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadEvent.d.ts","sourceRoot":"","sources":["ThreadEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,qBAAa,WAAY,SAAQ,KAAK;IAClC,MAAM,EAAE,aAAa,GAAG,SAAS,CAAC;gBAEtB,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,GAAG,SAAS;IAKhE,SAAS,IAAI,aAAa,GAAG,SAAS;CAGzC"} \ No newline at end of file diff --git a/src/thread/ThreadEvent.js b/src/thread/ThreadEvent.js new file mode 100644 index 0000000..c055e44 --- /dev/null +++ b/src/thread/ThreadEvent.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ThreadEvent = void 0; +const Event_1 = require("../Event"); +class ThreadEvent extends Event_1.Event { + constructor(eventName, thread) { + super(eventName); + this.thread = thread; + } + getThread() { + return this.thread; + } +} +exports.ThreadEvent = ThreadEvent; +//# sourceMappingURL=ThreadEvent.js.map \ No newline at end of file diff --git a/src/thread/ThreadEvent.js.map b/src/thread/ThreadEvent.js.map new file mode 100644 index 0000000..2a65e42 --- /dev/null +++ b/src/thread/ThreadEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadEvent.js","sourceRoot":"","sources":["ThreadEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AAEjC,MAAa,WAAY,SAAQ,aAAK;IAGlC,YAAY,SAAiB,EAAE,MAAiC;QAC5D,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED,SAAS;QACL,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;CACJ;AAXD,kCAWC"} \ No newline at end of file diff --git a/src/thread/ThreadEvent.ts b/src/thread/ThreadEvent.ts index bfac9ac..b6844ca 100644 --- a/src/thread/ThreadEvent.ts +++ b/src/thread/ThreadEvent.ts @@ -2,9 +2,9 @@ import { ThreadChannel } from "discord.js"; import { Event } from "../Event"; export class ThreadEvent extends Event { - thread?: ThreadChannel; + thread: ThreadChannel | undefined; - constructor(eventName: string, thread?: ThreadChannel) { + constructor(eventName: string, thread: ThreadChannel | undefined) { super(eventName); this.thread = thread; } diff --git a/src/thread/ThreadListSyncEvent.d.ts b/src/thread/ThreadListSyncEvent.d.ts new file mode 100644 index 0000000..fe790bf --- /dev/null +++ b/src/thread/ThreadListSyncEvent.d.ts @@ -0,0 +1,10 @@ +import { Guild } from "discord.js"; +import { ThreadEvent } from "./ThreadEvent"; +export declare class ThreadListSyncEvent extends ThreadEvent { + threads: any; + guild: Guild; + constructor(threads: any, guild: Guild); + getThreads(): any; + getGuild(): Guild; +} +//# sourceMappingURL=ThreadListSyncEvent.d.ts.map \ No newline at end of file diff --git a/src/thread/ThreadListSyncEvent.d.ts.map b/src/thread/ThreadListSyncEvent.d.ts.map new file mode 100644 index 0000000..70269f9 --- /dev/null +++ b/src/thread/ThreadListSyncEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadListSyncEvent.d.ts","sourceRoot":"","sources":["ThreadListSyncEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,mBAAoB,SAAQ,WAAW;IAChD,OAAO,EAAE,GAAG,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;gBAED,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK;IAMtC,UAAU,IAAI,GAAG;IAIjB,QAAQ,IAAI,KAAK;CAGpB"} \ No newline at end of file diff --git a/src/thread/ThreadListSyncEvent.js b/src/thread/ThreadListSyncEvent.js new file mode 100644 index 0000000..fa7d340 --- /dev/null +++ b/src/thread/ThreadListSyncEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ThreadListSyncEvent = void 0; +const Events_1 = require("../Events"); +const ThreadEvent_1 = require("./ThreadEvent"); +class ThreadListSyncEvent extends ThreadEvent_1.ThreadEvent { + constructor(threads, guild) { + super(Events_1.Events.ThreadListSync, undefined); + this.threads = threads; + this.guild = guild; + } + getThreads() { + return this.threads; + } + getGuild() { + return this.guild; + } +} +exports.ThreadListSyncEvent = ThreadListSyncEvent; +//# sourceMappingURL=ThreadListSyncEvent.js.map \ No newline at end of file diff --git a/src/thread/ThreadListSyncEvent.js.map b/src/thread/ThreadListSyncEvent.js.map new file mode 100644 index 0000000..41c06cd --- /dev/null +++ b/src/thread/ThreadListSyncEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadListSyncEvent.js","sourceRoot":"","sources":["ThreadListSyncEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,+CAA4C;AAE5C,MAAa,mBAAoB,SAAQ,yBAAW;IAIhD,YAAY,OAAY,EAAE,KAAY;QAClC,KAAK,CAAC,eAAM,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;QACxC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;CACJ;AAjBD,kDAiBC"} \ No newline at end of file diff --git a/src/thread/ThreadMemberUpdateEvent.d.ts b/src/thread/ThreadMemberUpdateEvent.d.ts new file mode 100644 index 0000000..e1c99a0 --- /dev/null +++ b/src/thread/ThreadMemberUpdateEvent.d.ts @@ -0,0 +1,9 @@ +import { ThreadEvent } from "./ThreadEvent"; +export declare class ThreadMemberUpdateEvent extends ThreadEvent { + oldMember: any; + newMember: any; + constructor(oldMember: any, newMember: any); + getOldMember(): any; + getNewMembers(): any; +} +//# sourceMappingURL=ThreadMemberUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/thread/ThreadMemberUpdateEvent.d.ts.map b/src/thread/ThreadMemberUpdateEvent.d.ts.map new file mode 100644 index 0000000..b90ad29 --- /dev/null +++ b/src/thread/ThreadMemberUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadMemberUpdateEvent.d.ts","sourceRoot":"","sources":["ThreadMemberUpdateEvent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,uBAAwB,SAAQ,WAAW;IACpD,SAAS,EAAE,GAAG,CAAC;IACf,SAAS,EAAE,GAAG,CAAC;gBAEH,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG;IAK1C,YAAY,IAAI,GAAG;IAInB,aAAa,IAAI,GAAG;CAGvB"} \ No newline at end of file diff --git a/src/thread/ThreadMemberUpdateEvent.js b/src/thread/ThreadMemberUpdateEvent.js new file mode 100644 index 0000000..3a1f9ea --- /dev/null +++ b/src/thread/ThreadMemberUpdateEvent.js @@ -0,0 +1,19 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ThreadMemberUpdateEvent = void 0; +const Events_1 = require("../Events"); +const ThreadEvent_1 = require("./ThreadEvent"); +class ThreadMemberUpdateEvent extends ThreadEvent_1.ThreadEvent { + constructor(oldMember, newMember) { + super(Events_1.Events.ThreadMemberUpdate, newMember.thread); + this.oldMember = oldMember; + } + getOldMember() { + return this.oldMember; + } + getNewMembers() { + return this.newMember; + } +} +exports.ThreadMemberUpdateEvent = ThreadMemberUpdateEvent; +//# sourceMappingURL=ThreadMemberUpdateEvent.js.map \ No newline at end of file diff --git a/src/thread/ThreadMemberUpdateEvent.js.map b/src/thread/ThreadMemberUpdateEvent.js.map new file mode 100644 index 0000000..1b2e83a --- /dev/null +++ b/src/thread/ThreadMemberUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadMemberUpdateEvent.js","sourceRoot":"","sources":["ThreadMemberUpdateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,+CAA4C;AAE5C,MAAa,uBAAwB,SAAQ,yBAAW;IAIpD,YAAY,SAAc,EAAE,SAAc;QACtC,KAAK,CAAC,eAAM,CAAC,kBAAkB,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;QACnD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAED,YAAY;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED,aAAa;QACT,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;CACJ;AAhBD,0DAgBC"} \ No newline at end of file diff --git a/src/thread/ThreadMemberUpdateEvent.ts b/src/thread/ThreadMemberUpdateEvent.ts index 71a5574..4879d42 100644 --- a/src/thread/ThreadMemberUpdateEvent.ts +++ b/src/thread/ThreadMemberUpdateEvent.ts @@ -8,6 +8,7 @@ export class ThreadMemberUpdateEvent extends ThreadEvent { constructor(oldMember: any, newMember: any) { super(Events.ThreadMemberUpdate, newMember.thread); + this.oldMember = oldMember; } getOldMember(): any { diff --git a/src/thread/ThreadMembersUpdateEvent.d.ts b/src/thread/ThreadMembersUpdateEvent.d.ts new file mode 100644 index 0000000..7378314 --- /dev/null +++ b/src/thread/ThreadMembersUpdateEvent.d.ts @@ -0,0 +1,10 @@ +import { ThreadChannel } from "discord.js"; +import { ThreadEvent } from "./ThreadEvent"; +export declare class ThreadMembersUpdateEvent extends ThreadEvent { + addedMembers: any; + removedMembers: any; + constructor(addedMembers: any, removedMembers: any, thread: ThreadChannel); + getAddedMembers(): any; + getRemovedMembers(): any; +} +//# sourceMappingURL=ThreadMembersUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/thread/ThreadMembersUpdateEvent.d.ts.map b/src/thread/ThreadMembersUpdateEvent.d.ts.map new file mode 100644 index 0000000..e1533fe --- /dev/null +++ b/src/thread/ThreadMembersUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadMembersUpdateEvent.d.ts","sourceRoot":"","sources":["ThreadMembersUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,aAAa,EAAE,MAAM,YAAY,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,wBAAyB,SAAQ,WAAW;IACrD,YAAY,EAAE,GAAG,CAAC;IAClB,cAAc,EAAE,GAAG,CAAC;gBAER,YAAY,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,EAAE,aAAa;IAMzE,eAAe,IAAI,GAAG;IAItB,iBAAiB,IAAI,GAAG;CAG3B"} \ No newline at end of file diff --git a/src/thread/ThreadMembersUpdateEvent.js b/src/thread/ThreadMembersUpdateEvent.js new file mode 100644 index 0000000..8de072e --- /dev/null +++ b/src/thread/ThreadMembersUpdateEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ThreadMembersUpdateEvent = void 0; +const Events_1 = require("../Events"); +const ThreadEvent_1 = require("./ThreadEvent"); +class ThreadMembersUpdateEvent extends ThreadEvent_1.ThreadEvent { + constructor(addedMembers, removedMembers, thread) { + super(Events_1.Events.ThreadMembersUpdate, thread); + this.addedMembers = addedMembers; + this.removedMembers = removedMembers; + } + getAddedMembers() { + return this.addedMembers; + } + getRemovedMembers() { + return this.removedMembers; + } +} +exports.ThreadMembersUpdateEvent = ThreadMembersUpdateEvent; +//# sourceMappingURL=ThreadMembersUpdateEvent.js.map \ No newline at end of file diff --git a/src/thread/ThreadMembersUpdateEvent.js.map b/src/thread/ThreadMembersUpdateEvent.js.map new file mode 100644 index 0000000..1306fc5 --- /dev/null +++ b/src/thread/ThreadMembersUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ThreadMembersUpdateEvent.js","sourceRoot":"","sources":["ThreadMembersUpdateEvent.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AACnC,+CAA4C;AAE5C,MAAa,wBAAyB,SAAQ,yBAAW;IAIrD,YAAY,YAAiB,EAAE,cAAmB,EAAE,MAAqB;QACrE,KAAK,CAAC,eAAM,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;QAC1C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACzC,CAAC;IAED,eAAe;QACX,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAED,iBAAiB;QACb,OAAO,IAAI,CAAC,cAAc,CAAC;IAC/B,CAAC;CACJ;AAjBD,4DAiBC"} \ No newline at end of file diff --git a/src/thread/index.d.ts b/src/thread/index.d.ts new file mode 100644 index 0000000..4faee44 --- /dev/null +++ b/src/thread/index.d.ts @@ -0,0 +1,7 @@ +export * from "./ThreadCreateEvent"; +export * from "./ThreadDeleteEvent"; +export * from "./ThreadEvent"; +export * from "./ThreadListSyncEvent"; +export * from "./ThreadMemberUpdateEvent"; +export * from "./ThreadMembersUpdateEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/thread/index.d.ts.map b/src/thread/index.d.ts.map new file mode 100644 index 0000000..1d2346c --- /dev/null +++ b/src/thread/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA"} \ No newline at end of file diff --git a/src/thread/index.js b/src/thread/index.js new file mode 100644 index 0000000..ad39003 --- /dev/null +++ b/src/thread/index.js @@ -0,0 +1,23 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./ThreadCreateEvent"), exports); +__exportStar(require("./ThreadDeleteEvent"), exports); +__exportStar(require("./ThreadEvent"), exports); +__exportStar(require("./ThreadListSyncEvent"), exports); +__exportStar(require("./ThreadMemberUpdateEvent"), exports); +__exportStar(require("./ThreadMembersUpdateEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/thread/index.js.map b/src/thread/index.js.map new file mode 100644 index 0000000..74a4440 --- /dev/null +++ b/src/thread/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,sDAAmC;AACnC,gDAA6B;AAC7B,wDAAqC;AACrC,4DAAyC;AACzC,6DAA0C"} \ No newline at end of file diff --git a/src/user/PresenceUpdateEvent.d.ts b/src/user/PresenceUpdateEvent.d.ts new file mode 100644 index 0000000..7a914cf --- /dev/null +++ b/src/user/PresenceUpdateEvent.d.ts @@ -0,0 +1,10 @@ +import { Presence } from "discord.js"; +import { Event } from "../Event"; +export declare class PresenceUpdateEvent extends Event { + oldPresence: Presence; + newPresence: Presence; + constructor(oldPresence: Presence, newPresence: Presence); + getOldPresence(): Presence; + getNewPresence(): Presence; +} +//# sourceMappingURL=PresenceUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/user/PresenceUpdateEvent.d.ts.map b/src/user/PresenceUpdateEvent.d.ts.map new file mode 100644 index 0000000..9b9d6c5 --- /dev/null +++ b/src/user/PresenceUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PresenceUpdateEvent.d.ts","sourceRoot":"","sources":["PresenceUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,qBAAa,mBAAoB,SAAQ,KAAK;IAC1C,WAAW,EAAE,QAAQ,CAAC;IACtB,WAAW,EAAE,QAAQ,CAAC;gBAEV,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ;IAMxD,cAAc,IAAI,QAAQ;IAI1B,cAAc,IAAI,QAAQ;CAG7B"} \ No newline at end of file diff --git a/src/user/PresenceUpdateEvent.js b/src/user/PresenceUpdateEvent.js new file mode 100644 index 0000000..fa372fd --- /dev/null +++ b/src/user/PresenceUpdateEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PresenceUpdateEvent = void 0; +const Event_1 = require("../Event"); +const Events_1 = require("../Events"); +class PresenceUpdateEvent extends Event_1.Event { + constructor(oldPresence, newPresence) { + super(Events_1.Events.PresenceUpdate); + this.oldPresence = oldPresence; + this.newPresence = newPresence; + } + getOldPresence() { + return this.oldPresence; + } + getNewPresence() { + return this.newPresence; + } +} +exports.PresenceUpdateEvent = PresenceUpdateEvent; +//# sourceMappingURL=PresenceUpdateEvent.js.map \ No newline at end of file diff --git a/src/user/PresenceUpdateEvent.js.map b/src/user/PresenceUpdateEvent.js.map new file mode 100644 index 0000000..e28925a --- /dev/null +++ b/src/user/PresenceUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PresenceUpdateEvent.js","sourceRoot":"","sources":["PresenceUpdateEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AACjC,sCAAmC;AAEnC,MAAa,mBAAoB,SAAQ,aAAK;IAI1C,YAAY,WAAqB,EAAE,WAAqB;QACpD,KAAK,CAAC,eAAM,CAAC,cAAc,CAAC,CAAC;QAC7B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;IAED,cAAc;QACV,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IAED,cAAc;QACV,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CACJ;AAjBD,kDAiBC"} \ No newline at end of file diff --git a/src/user/TypingStartEvent.d.ts b/src/user/TypingStartEvent.d.ts new file mode 100644 index 0000000..ec7b7bd --- /dev/null +++ b/src/user/TypingStartEvent.d.ts @@ -0,0 +1,8 @@ +import { Typing } from "discord.js"; +import { Event } from "../Event"; +export declare class TypingStartEvent extends Event { + typing: Typing; + constructor(typing: Typing); + getTyping(): Typing; +} +//# sourceMappingURL=TypingStartEvent.d.ts.map \ No newline at end of file diff --git a/src/user/TypingStartEvent.d.ts.map b/src/user/TypingStartEvent.d.ts.map new file mode 100644 index 0000000..2b7378d --- /dev/null +++ b/src/user/TypingStartEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TypingStartEvent.d.ts","sourceRoot":"","sources":["TypingStartEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,qBAAa,gBAAiB,SAAQ,KAAK;IACvC,MAAM,EAAE,MAAM,CAAC;gBAEH,MAAM,EAAE,MAAM;IAK1B,SAAS,IAAI,MAAM;CAGtB"} \ No newline at end of file diff --git a/src/user/TypingStartEvent.js b/src/user/TypingStartEvent.js new file mode 100644 index 0000000..1d29cd9 --- /dev/null +++ b/src/user/TypingStartEvent.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TypingStartEvent = void 0; +const Event_1 = require("../Event"); +const Events_1 = require("../Events"); +class TypingStartEvent extends Event_1.Event { + constructor(typing) { + super(Events_1.Events.TypingStart); + this.typing = typing; + } + getTyping() { + return this.typing; + } +} +exports.TypingStartEvent = TypingStartEvent; +//# sourceMappingURL=TypingStartEvent.js.map \ No newline at end of file diff --git a/src/user/TypingStartEvent.js.map b/src/user/TypingStartEvent.js.map new file mode 100644 index 0000000..595f974 --- /dev/null +++ b/src/user/TypingStartEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"TypingStartEvent.js","sourceRoot":"","sources":["TypingStartEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AACjC,sCAAmC;AAEnC,MAAa,gBAAiB,SAAQ,aAAK;IAGvC,YAAY,MAAc;QACtB,KAAK,CAAC,eAAM,CAAC,WAAW,CAAC,CAAC;QAC1B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED,SAAS;QACL,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;CACJ;AAXD,4CAWC"} \ No newline at end of file diff --git a/src/user/UserUpdateEvent.d.ts b/src/user/UserUpdateEvent.d.ts new file mode 100644 index 0000000..580cbae --- /dev/null +++ b/src/user/UserUpdateEvent.d.ts @@ -0,0 +1,10 @@ +import { User } from "discord.js"; +import { Event } from "../Event"; +export declare class UserUpdateEvent extends Event { + oldUser: User; + newUser: User; + constructor(oldUser: User, newUser: User); + getOldUser(): User; + getNewUser(): User; +} +//# sourceMappingURL=UserUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/user/UserUpdateEvent.d.ts.map b/src/user/UserUpdateEvent.d.ts.map new file mode 100644 index 0000000..628e325 --- /dev/null +++ b/src/user/UserUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"UserUpdateEvent.d.ts","sourceRoot":"","sources":["UserUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,qBAAa,eAAgB,SAAQ,KAAK;IACtC,OAAO,EAAE,IAAI,CAAC;IACd,OAAO,EAAE,IAAI,CAAC;gBAEF,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI;IAMxC,UAAU,IAAI,IAAI;IAIlB,UAAU,IAAI,IAAI;CAGrB"} \ No newline at end of file diff --git a/src/user/UserUpdateEvent.js b/src/user/UserUpdateEvent.js new file mode 100644 index 0000000..c6296f0 --- /dev/null +++ b/src/user/UserUpdateEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateEvent = void 0; +const Event_1 = require("../Event"); +const Events_1 = require("../Events"); +class UserUpdateEvent extends Event_1.Event { + constructor(oldUser, newUser) { + super(Events_1.Events.UserUpdate); + this.oldUser = oldUser; + this.newUser = newUser; + } + getOldUser() { + return this.oldUser; + } + getNewUser() { + return this.newUser; + } +} +exports.UserUpdateEvent = UserUpdateEvent; +//# sourceMappingURL=UserUpdateEvent.js.map \ No newline at end of file diff --git a/src/user/UserUpdateEvent.js.map b/src/user/UserUpdateEvent.js.map new file mode 100644 index 0000000..b14360a --- /dev/null +++ b/src/user/UserUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"UserUpdateEvent.js","sourceRoot":"","sources":["UserUpdateEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AACjC,sCAAmC;AAEnC,MAAa,eAAgB,SAAQ,aAAK;IAItC,YAAY,OAAa,EAAE,OAAa;QACpC,KAAK,CAAC,eAAM,CAAC,UAAU,CAAC,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAED,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;CACJ;AAjBD,0CAiBC"} \ No newline at end of file diff --git a/src/user/index.d.ts b/src/user/index.d.ts new file mode 100644 index 0000000..0a4a8e8 --- /dev/null +++ b/src/user/index.d.ts @@ -0,0 +1,4 @@ +export * from "./PresenceUpdateEvent"; +export * from "./TypingStartEvent"; +export * from "./UserUpdateEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/user/index.d.ts.map b/src/user/index.d.ts.map new file mode 100644 index 0000000..0589349 --- /dev/null +++ b/src/user/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA"} \ No newline at end of file diff --git a/src/user/index.js b/src/user/index.js new file mode 100644 index 0000000..2293b45 --- /dev/null +++ b/src/user/index.js @@ -0,0 +1,20 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./PresenceUpdateEvent"), exports); +__exportStar(require("./TypingStartEvent"), exports); +__exportStar(require("./UserUpdateEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/user/index.js.map b/src/user/index.js.map new file mode 100644 index 0000000..13e3f41 --- /dev/null +++ b/src/user/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAqC;AACrC,qDAAkC;AAClC,oDAAiC"} \ No newline at end of file diff --git a/src/voice/VoiceStateUpdateEvent.d.ts b/src/voice/VoiceStateUpdateEvent.d.ts new file mode 100644 index 0000000..678efed --- /dev/null +++ b/src/voice/VoiceStateUpdateEvent.d.ts @@ -0,0 +1,10 @@ +import { VoiceState } from "discord.js"; +import { Event } from "../Event"; +export declare class VoiceStateUpdateEvent extends Event { + oldState: VoiceState; + newState: VoiceState; + constructor(oldState: VoiceState, newState: VoiceState); + getOldState(): VoiceState; + getNewState(): VoiceState; +} +//# sourceMappingURL=VoiceStateUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/voice/VoiceStateUpdateEvent.d.ts.map b/src/voice/VoiceStateUpdateEvent.d.ts.map new file mode 100644 index 0000000..46105e5 --- /dev/null +++ b/src/voice/VoiceStateUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"VoiceStateUpdateEvent.d.ts","sourceRoot":"","sources":["VoiceStateUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,qBAAa,qBAAsB,SAAQ,KAAK;IAC5C,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;gBAET,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU;IAMtD,WAAW,IAAI,UAAU;IAIzB,WAAW,IAAI,UAAU;CAG5B"} \ No newline at end of file diff --git a/src/voice/VoiceStateUpdateEvent.js b/src/voice/VoiceStateUpdateEvent.js new file mode 100644 index 0000000..dc56e12 --- /dev/null +++ b/src/voice/VoiceStateUpdateEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.VoiceStateUpdateEvent = void 0; +const Event_1 = require("../Event"); +const Events_1 = require("../Events"); +class VoiceStateUpdateEvent extends Event_1.Event { + constructor(oldState, newState) { + super(Events_1.Events.VoiceStateUpdate); + this.oldState = oldState; + this.newState = newState; + } + getOldState() { + return this.oldState; + } + getNewState() { + return this.newState; + } +} +exports.VoiceStateUpdateEvent = VoiceStateUpdateEvent; +//# sourceMappingURL=VoiceStateUpdateEvent.js.map \ No newline at end of file diff --git a/src/voice/VoiceStateUpdateEvent.js.map b/src/voice/VoiceStateUpdateEvent.js.map new file mode 100644 index 0000000..c5d3b2f --- /dev/null +++ b/src/voice/VoiceStateUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"VoiceStateUpdateEvent.js","sourceRoot":"","sources":["VoiceStateUpdateEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AACjC,sCAAmC;AAEnC,MAAa,qBAAsB,SAAQ,aAAK;IAI5C,YAAY,QAAoB,EAAE,QAAoB;QAClD,KAAK,CAAC,eAAM,CAAC,gBAAgB,CAAC,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,WAAW;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAED,WAAW;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;CACJ;AAjBD,sDAiBC"} \ No newline at end of file diff --git a/src/voice/index.d.ts b/src/voice/index.d.ts new file mode 100644 index 0000000..16db595 --- /dev/null +++ b/src/voice/index.d.ts @@ -0,0 +1,2 @@ +export * from "./VoiceStateUpdateEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/voice/index.d.ts.map b/src/voice/index.d.ts.map new file mode 100644 index 0000000..cdebfcb --- /dev/null +++ b/src/voice/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA"} \ No newline at end of file diff --git a/src/voice/index.js b/src/voice/index.js new file mode 100644 index 0000000..3c3b69d --- /dev/null +++ b/src/voice/index.js @@ -0,0 +1,18 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./VoiceStateUpdateEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/voice/index.js.map b/src/voice/index.js.map new file mode 100644 index 0000000..a0f9d4d --- /dev/null +++ b/src/voice/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAuC"} \ No newline at end of file diff --git a/src/webhooks/WebhooksUpdateEvent.d.ts b/src/webhooks/WebhooksUpdateEvent.d.ts new file mode 100644 index 0000000..cfb19bd --- /dev/null +++ b/src/webhooks/WebhooksUpdateEvent.d.ts @@ -0,0 +1,12 @@ +import { ForumChannel, NewsChannel, StageChannel, TextChannel, VoiceChannel } from "discord.js"; +import { Event } from "../Event"; +export declare class WebhooksUpdateEvent extends Event { + channel: TextChannel | NewsChannel | VoiceChannel | StageChannel | ForumChannel; + constructor(channel: TextChannel | NewsChannel | VoiceChannel | StageChannel | ForumChannel); + /** + * + * @returns {TextChannel | NewsChannel | VoiceChannel | StageChannel | ForumChannel} + */ + getChannel(): TextChannel | NewsChannel | VoiceChannel | StageChannel | ForumChannel; +} +//# sourceMappingURL=WebhooksUpdateEvent.d.ts.map \ No newline at end of file diff --git a/src/webhooks/WebhooksUpdateEvent.d.ts.map b/src/webhooks/WebhooksUpdateEvent.d.ts.map new file mode 100644 index 0000000..6a00950 --- /dev/null +++ b/src/webhooks/WebhooksUpdateEvent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"WebhooksUpdateEvent.d.ts","sourceRoot":"","sources":["WebhooksUpdateEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAChG,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,qBAAa,mBAAoB,SAAQ,KAAK;IAC1C,OAAO,EAAE,WAAW,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY,GAAG,YAAY,CAAC;gBAEpE,OAAO,EAAE,WAAW,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY,GAAG,YAAY;IAK3F;;;OAGG;IACH,UAAU,IAAI,WAAW,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY,GAAG,YAAY;CAGvF"} \ No newline at end of file diff --git a/src/webhooks/WebhooksUpdateEvent.js b/src/webhooks/WebhooksUpdateEvent.js new file mode 100644 index 0000000..14f5596 --- /dev/null +++ b/src/webhooks/WebhooksUpdateEvent.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.WebhooksUpdateEvent = void 0; +const Event_1 = require("../Event"); +const Events_1 = require("../Events"); +class WebhooksUpdateEvent extends Event_1.Event { + constructor(channel) { + super(Events_1.Events.WebhooksUpdate); + this.channel = channel; + } + /** + * + * @returns {TextChannel | NewsChannel | VoiceChannel | StageChannel | ForumChannel} + */ + getChannel() { + return this.channel; + } +} +exports.WebhooksUpdateEvent = WebhooksUpdateEvent; +//# sourceMappingURL=WebhooksUpdateEvent.js.map \ No newline at end of file diff --git a/src/webhooks/WebhooksUpdateEvent.js.map b/src/webhooks/WebhooksUpdateEvent.js.map new file mode 100644 index 0000000..16d65f3 --- /dev/null +++ b/src/webhooks/WebhooksUpdateEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"WebhooksUpdateEvent.js","sourceRoot":"","sources":["WebhooksUpdateEvent.ts"],"names":[],"mappings":";;;AACA,oCAAiC;AACjC,sCAAmC;AAEnC,MAAa,mBAAoB,SAAQ,aAAK;IAG1C,YAAY,OAA+E;QACvF,KAAK,CAAC,eAAM,CAAC,cAAc,CAAC,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED;;;OAGG;IACH,UAAU;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;CACJ;AAfD,kDAeC"} \ No newline at end of file diff --git a/src/webhooks/index.d.ts b/src/webhooks/index.d.ts new file mode 100644 index 0000000..51c6a02 --- /dev/null +++ b/src/webhooks/index.d.ts @@ -0,0 +1,2 @@ +export * from "./WebhooksUpdateEvent"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/src/webhooks/index.d.ts.map b/src/webhooks/index.d.ts.map new file mode 100644 index 0000000..dea8045 --- /dev/null +++ b/src/webhooks/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"} \ No newline at end of file diff --git a/src/webhooks/index.js b/src/webhooks/index.js new file mode 100644 index 0000000..80321bd --- /dev/null +++ b/src/webhooks/index.js @@ -0,0 +1,18 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./WebhooksUpdateEvent"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/src/webhooks/index.js.map b/src/webhooks/index.js.map new file mode 100644 index 0000000..01c295c --- /dev/null +++ b/src/webhooks/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAqC"} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..5964751 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compileOnSave": true, + "compilerOptions": { + "alwaysStrict": true, + "lib": ["esnext"], + "module": "commonjs", + "noUnusedParameters": true, + "sourceMap": true, + "declaration": true, + "declarationMap": true, + "noUnusedLocals": false, + "removeComments": false, + "target": "ES2020", + "strictNullChecks": true, + "preserveConstEnums": true, + "exactOptionalPropertyTypes": true + }, + "include": [ + "index.ts", + ] +} \ No newline at end of file