├── .editorconfig ├── .eslintignore ├── .eslintrc.yml ├── .github └── workflows │ ├── main.yml │ └── release-please.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.yml ├── .vscode ├── extensions.json └── settings.json ├── .yarn ├── plugins │ └── @yarnpkg │ │ ├── plugin-interactive-tools.cjs │ │ └── plugin-typescript.cjs ├── releases │ └── yarn-3.0.0-rc.6.cjs └── sdks │ ├── eslint │ ├── bin │ │ └── eslint.js │ ├── lib │ │ └── api.js │ └── package.json │ ├── integrations.yml │ ├── prettier │ ├── index.js │ └── package.json │ └── typescript │ ├── bin │ ├── tsc │ └── tsserver │ ├── lib │ ├── tsc.js │ ├── tsserver.js │ └── typescript.js │ └── package.json ├── .yarnrc.yml ├── AUTHORS ├── CHANGELOG.md ├── LICENSE ├── README.md ├── package.json ├── src ├── clients │ ├── BaseClient.ts │ ├── Client.ts │ └── index.ts ├── constants.ts ├── exceptions │ ├── DiscordException.ts │ ├── Exception.ts │ ├── GatewayException.ts │ ├── index.ts │ └── messages.ts ├── gateway │ ├── Events.ts │ ├── WebSocketClient.ts │ ├── WebSocketManager.ts │ └── index.ts ├── http │ ├── HttpManager.ts │ ├── Queue.ts │ ├── RequestHandler.ts │ ├── index.ts │ ├── routes.ts │ └── routing.ts ├── index.ts ├── structures │ ├── Application.ts │ ├── Invite.ts │ ├── PermissionOverwrites.ts │ ├── Role.ts │ ├── Template.ts │ ├── User.ts │ ├── Webhook.ts │ ├── auditLog │ │ ├── AuditLog.ts │ │ └── AuditLogEntry.ts │ ├── channel │ │ ├── CategoryChannel.ts │ │ ├── Channel.ts │ │ ├── GuildChannel.ts │ │ ├── StoreChannel.ts │ │ ├── text │ │ │ ├── DMChannel.ts │ │ │ ├── GroupeDMChannel.ts │ │ │ ├── NewsChannel.ts │ │ │ ├── TextBasedChannel.ts │ │ │ └── TextChannel.ts │ │ └── voice │ │ │ ├── StageChannel.ts │ │ │ ├── VoiceBasedChannel.ts │ │ │ └── VoiceChannel.ts │ ├── emoji │ │ ├── BaseGuildEmoji.ts │ │ ├── Emoji.ts │ │ ├── GuildEmoji.ts │ │ ├── GuildPreviewEmoji.ts │ │ └── ReactionEmoji.ts │ ├── guild │ │ ├── Guild.ts │ │ ├── GuildBan.ts │ │ ├── GuildIntegration.ts │ │ ├── GuildMember.ts │ │ └── GuildPreview.ts │ ├── interaction │ │ ├── CommandInteraction.ts │ │ └── Interaction.ts │ ├── message │ │ ├── Message.ts │ │ ├── MessageAttachment.ts │ │ ├── MessageEmbed.ts │ │ ├── MessageReaction.ts │ │ └── Sticker.ts │ ├── presence │ │ ├── Activity.ts │ │ ├── ActivityAssets.ts │ │ └── Presence.ts │ ├── team │ │ ├── Team.ts │ │ └── TeamMember.ts │ └── voice │ │ ├── VoiceRegion.ts │ │ └── VoiceState.ts └── utils │ ├── index.ts │ ├── snowflake.ts │ └── types.ts ├── tsconfig.json ├── tsconfig.prod.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.eslintrc.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/release-please.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.github/workflows/release-please.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.prettierrc.yml -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-typescript.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/plugins/@yarnpkg/plugin-typescript.cjs -------------------------------------------------------------------------------- /.yarn/releases/yarn-3.0.0-rc.6.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/releases/yarn-3.0.0-rc.6.cjs -------------------------------------------------------------------------------- /.yarn/sdks/eslint/bin/eslint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/eslint/bin/eslint.js -------------------------------------------------------------------------------- /.yarn/sdks/eslint/lib/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/eslint/lib/api.js -------------------------------------------------------------------------------- /.yarn/sdks/eslint/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/eslint/package.json -------------------------------------------------------------------------------- /.yarn/sdks/integrations.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/integrations.yml -------------------------------------------------------------------------------- /.yarn/sdks/prettier/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/prettier/index.js -------------------------------------------------------------------------------- /.yarn/sdks/prettier/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/prettier/package.json -------------------------------------------------------------------------------- /.yarn/sdks/typescript/bin/tsc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/typescript/bin/tsc -------------------------------------------------------------------------------- /.yarn/sdks/typescript/bin/tsserver: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/typescript/bin/tsserver -------------------------------------------------------------------------------- /.yarn/sdks/typescript/lib/tsc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/typescript/lib/tsc.js -------------------------------------------------------------------------------- /.yarn/sdks/typescript/lib/tsserver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/typescript/lib/tsserver.js -------------------------------------------------------------------------------- /.yarn/sdks/typescript/lib/typescript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/typescript/lib/typescript.js -------------------------------------------------------------------------------- /.yarn/sdks/typescript/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarn/sdks/typescript/package.json -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/AUTHORS -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # core 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/package.json -------------------------------------------------------------------------------- /src/clients/BaseClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/clients/BaseClient.ts -------------------------------------------------------------------------------- /src/clients/Client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/clients/Client.ts -------------------------------------------------------------------------------- /src/clients/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/clients/index.ts -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/exceptions/DiscordException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/exceptions/DiscordException.ts -------------------------------------------------------------------------------- /src/exceptions/Exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/exceptions/Exception.ts -------------------------------------------------------------------------------- /src/exceptions/GatewayException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/exceptions/GatewayException.ts -------------------------------------------------------------------------------- /src/exceptions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/exceptions/index.ts -------------------------------------------------------------------------------- /src/exceptions/messages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/exceptions/messages.ts -------------------------------------------------------------------------------- /src/gateway/Events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/gateway/Events.ts -------------------------------------------------------------------------------- /src/gateway/WebSocketClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/gateway/WebSocketClient.ts -------------------------------------------------------------------------------- /src/gateway/WebSocketManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/gateway/WebSocketManager.ts -------------------------------------------------------------------------------- /src/gateway/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/gateway/index.ts -------------------------------------------------------------------------------- /src/http/HttpManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/http/HttpManager.ts -------------------------------------------------------------------------------- /src/http/Queue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/http/Queue.ts -------------------------------------------------------------------------------- /src/http/RequestHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/http/RequestHandler.ts -------------------------------------------------------------------------------- /src/http/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/http/index.ts -------------------------------------------------------------------------------- /src/http/routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/http/routes.ts -------------------------------------------------------------------------------- /src/http/routing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/http/routing.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/structures/Application.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/Application.ts -------------------------------------------------------------------------------- /src/structures/Invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/Invite.ts -------------------------------------------------------------------------------- /src/structures/PermissionOverwrites.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/PermissionOverwrites.ts -------------------------------------------------------------------------------- /src/structures/Role.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/Role.ts -------------------------------------------------------------------------------- /src/structures/Template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/Template.ts -------------------------------------------------------------------------------- /src/structures/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/User.ts -------------------------------------------------------------------------------- /src/structures/Webhook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/Webhook.ts -------------------------------------------------------------------------------- /src/structures/auditLog/AuditLog.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/auditLog/AuditLog.ts -------------------------------------------------------------------------------- /src/structures/auditLog/AuditLogEntry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/auditLog/AuditLogEntry.ts -------------------------------------------------------------------------------- /src/structures/channel/CategoryChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/CategoryChannel.ts -------------------------------------------------------------------------------- /src/structures/channel/Channel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/Channel.ts -------------------------------------------------------------------------------- /src/structures/channel/GuildChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/GuildChannel.ts -------------------------------------------------------------------------------- /src/structures/channel/StoreChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/StoreChannel.ts -------------------------------------------------------------------------------- /src/structures/channel/text/DMChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/text/DMChannel.ts -------------------------------------------------------------------------------- /src/structures/channel/text/GroupeDMChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/text/GroupeDMChannel.ts -------------------------------------------------------------------------------- /src/structures/channel/text/NewsChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/text/NewsChannel.ts -------------------------------------------------------------------------------- /src/structures/channel/text/TextBasedChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/text/TextBasedChannel.ts -------------------------------------------------------------------------------- /src/structures/channel/text/TextChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/text/TextChannel.ts -------------------------------------------------------------------------------- /src/structures/channel/voice/StageChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/voice/StageChannel.ts -------------------------------------------------------------------------------- /src/structures/channel/voice/VoiceBasedChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/voice/VoiceBasedChannel.ts -------------------------------------------------------------------------------- /src/structures/channel/voice/VoiceChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/channel/voice/VoiceChannel.ts -------------------------------------------------------------------------------- /src/structures/emoji/BaseGuildEmoji.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/emoji/BaseGuildEmoji.ts -------------------------------------------------------------------------------- /src/structures/emoji/Emoji.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/emoji/Emoji.ts -------------------------------------------------------------------------------- /src/structures/emoji/GuildEmoji.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/emoji/GuildEmoji.ts -------------------------------------------------------------------------------- /src/structures/emoji/GuildPreviewEmoji.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/emoji/GuildPreviewEmoji.ts -------------------------------------------------------------------------------- /src/structures/emoji/ReactionEmoji.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/emoji/ReactionEmoji.ts -------------------------------------------------------------------------------- /src/structures/guild/Guild.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/guild/Guild.ts -------------------------------------------------------------------------------- /src/structures/guild/GuildBan.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/guild/GuildBan.ts -------------------------------------------------------------------------------- /src/structures/guild/GuildIntegration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/guild/GuildIntegration.ts -------------------------------------------------------------------------------- /src/structures/guild/GuildMember.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/guild/GuildMember.ts -------------------------------------------------------------------------------- /src/structures/guild/GuildPreview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/guild/GuildPreview.ts -------------------------------------------------------------------------------- /src/structures/interaction/CommandInteraction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/interaction/CommandInteraction.ts -------------------------------------------------------------------------------- /src/structures/interaction/Interaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/interaction/Interaction.ts -------------------------------------------------------------------------------- /src/structures/message/Message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/message/Message.ts -------------------------------------------------------------------------------- /src/structures/message/MessageAttachment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/message/MessageAttachment.ts -------------------------------------------------------------------------------- /src/structures/message/MessageEmbed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/message/MessageEmbed.ts -------------------------------------------------------------------------------- /src/structures/message/MessageReaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/message/MessageReaction.ts -------------------------------------------------------------------------------- /src/structures/message/Sticker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/message/Sticker.ts -------------------------------------------------------------------------------- /src/structures/presence/Activity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/presence/Activity.ts -------------------------------------------------------------------------------- /src/structures/presence/ActivityAssets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/presence/ActivityAssets.ts -------------------------------------------------------------------------------- /src/structures/presence/Presence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/presence/Presence.ts -------------------------------------------------------------------------------- /src/structures/team/Team.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/team/Team.ts -------------------------------------------------------------------------------- /src/structures/team/TeamMember.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/team/TeamMember.ts -------------------------------------------------------------------------------- /src/structures/voice/VoiceRegion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/voice/VoiceRegion.ts -------------------------------------------------------------------------------- /src/structures/voice/VoiceState.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/structures/voice/VoiceState.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/snowflake.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/utils/snowflake.ts -------------------------------------------------------------------------------- /src/utils/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/src/utils/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.prod.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/tsconfig.prod.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typescord/core/HEAD/yarn.lock --------------------------------------------------------------------------------