-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Document Attachment dimensions being optional #2214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 tasks
vladfrangu
added a commit
to discordjs/discord-api-types
that referenced
this pull request
Dec 27, 2020
4 tasks
ghost
pushed a commit
to discordeno/discordeno
that referenced
this pull request
Jan 15, 2021
4 tasks
ghost
pushed a commit
to discordeno/discordeno
that referenced
this pull request
Jan 16, 2021
* ci(test): run workflow on label assignment (#364) * ci(test): run workflow on label assignment (#365) * ci(test): run workflow on label assignment * ci(test): remove paths * ci(test): run workflow on label assignment (#367) * ci(test): run workflow on label assignment * ci(test): remove paths * ci(test): run workflow on label assignment * ci: add "check" workflow (#370) * ci: add "check" workflow * ci: add check workflow * idk * ci(check): rename to "Type-check" * refactor(tests): separate tests into categories (#369) * refactor(tests): seperate tests into categories * idk * fix default avatars * test use depth 10 for error * remove extra log * test fix * test: attempt to fix "Token not provided" error (#384) * test: fix "Token not provided" error * idk wtf * Revert "idk wtf" This reverts commit 26063aa. * https://open.spotify.com/track/3ZWc3Bm8eUMRRJhSWKHHeV 🔥🔥 * Revert "test: attempt to fix "Token not provided" error (#384)" This reverts commit 6f21de2. * test(message): add missing tests (#371) * test(message): add missing tests * Add todo comment * docs: add jsdoc comments for event handlers (#376) * ci: another attempt to fix CI * ci: run workflow on push to master (#391) * types(message): make attachment dimensions optional Reference: discord/discord-api-docs#2214 * types(message): add 16 & 17 to MessageTypes * these aren't needed * create: OverwritePayload to Overwrite converter * fix: type issues Co-authored-by: Ayyan <[email protected]> Co-authored-by: Skillz <[email protected]> Co-authored-by: Skillz4Killz <[email protected]>
4 tasks
ghost
pushed a commit
to discordeno/discordeno
that referenced
this pull request
Jan 24, 2021
* ci(test): run workflow on label assignment (#364) * ci(test): run workflow on label assignment (#365) * ci(test): run workflow on label assignment * ci(test): remove paths * ci(test): run workflow on label assignment (#367) * ci(test): run workflow on label assignment * ci(test): remove paths * ci(test): run workflow on label assignment * ci: add "check" workflow (#370) * ci: add "check" workflow * ci: add check workflow * idk * ci(check): rename to "Type-check" * refactor(tests): separate tests into categories (#369) * refactor(tests): seperate tests into categories * idk * fix default avatars * test use depth 10 for error * remove extra log * test fix * test: attempt to fix "Token not provided" error (#384) * test: fix "Token not provided" error * idk wtf * Revert "idk wtf" This reverts commit 26063aa. * https://open.spotify.com/track/3ZWc3Bm8eUMRRJhSWKHHeV 🔥🔥 * Revert "test: attempt to fix "Token not provided" error (#384)" This reverts commit 6f21de2. * test(message): add missing tests (#371) * test(message): add missing tests * Add todo comment * docs: add jsdoc comments for event handlers (#376) * ci: another attempt to fix CI * ci: run workflow on push to master (#391) * types(message): make attachment dimensions optional Reference: discord/discord-api-docs#2214 * types(message): add 16 & 17 to MessageTypes * docs: improve wording (#363) * docs: improve wording * Thanks to Skillz <3 Co-authored-by: Skillz4Killz <[email protected]> Co-authored-by: Skillz4Killz <[email protected]> * Update README.md * refactor(util): update endpoints (#383) * Update constants.ts * fiiiixxxx * dupe * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * USER_DM * fix this and remove that * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * Update constants.ts * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * need these * hmm * rename GUILD_EMBED to GUILD_WIDGET * idk * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * Update constants.ts * Update constants.ts Co-authored-by: Ayyan <[email protected]> * feat: internal intents resolution (#390) * better intents typing * Update README.md * Update mod.test.ts * support enum too * fix(handlers): support for custom emoji in reaction remove functions (#400) * feat(handlers): inhibitors for deleteChannel() (#401) * better deleteChannel function * throw error if guild wasn't found * remove dm close ability * change this comment again * guildID should be first * chore: update exports (#402) * feat(handlers): add kickFromVoiceChannel() function (#407) * feat(handlers): add editChannelOverwrite() & deleteChannelOverwrite() (#403) * add editChannelOverwrite function * remove body constant Co-authored-by: Ayyan <[email protected]> * format * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * add deleteChannelOverwrite function * Mark permission in jsdoc Co-authored-by: Ayyan <[email protected]> Co-authored-by: Ayyan <[email protected]> * feat(controllers): cache updated guild object with new emojis (#414) * feat(handlers): add getEmoji() & getEmojis() (#406) * add(handlers): getEmojis * add(handlers): getEmoji * fix cache * addToCache argument * addtocache default to true * Update guild.ts * remove this * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> Co-authored-by: Ayyan <[email protected]> * feat(handlers): add startTyping() (#404) * feat(handlers): triggerTypingIndicator function * add period Co-authored-by: Ayyan <[email protected]> * startTyping is better Co-authored-by: Skillz4Killz <[email protected]> Co-authored-by: Ayyan <[email protected]> Co-authored-by: Skillz4Killz <[email protected]> * Revert "chore: update exports (#402)" This reverts commit 442350b. * feat(handlers): add getGuildPreview() (#408) * add(handlers): getGuildPreview * update comment * check if guild is discoverable * remove checking since getGuild does not work on unjoined guilds * feat(handlers): add editBotNickname() (#415) * feat(handlers): add editBotNickname * return a var * Update member.ts * Update src/api/handlers/member.ts Co-authored-by: Ayyan <[email protected]> * Update member.ts * Update member.ts Co-authored-by: Ayyan <[email protected]> * style: format files * fix(controllers): check if the cached content is same as the updated content (#426) * ci(lint): add fmt check step * ci(test): add fmt check script * feat(handlers): check for message max delete days (#416) * check prune max days * patch(handlers): max days is 30 * change in description too * fix: merge problems * refactor(util): remove GUILD_INTEGRATION_CREATE endpoint (#430) * fix(controllers): cache updated message on MESSAGE_UPDATE (#429) * fix(controllers): cache message on update event * forgot to paste that in * refactor: remove index signatures (#431) * refactor: remove index signatures * refactor(util): use getter instead (#432) * fix(controllers): update cache with new value in gateway events (#433) * fix(controllers): cache updated member * fix(controllers): cache update guild * fix(controllers): cache user update * fix(controllers): cache voice state update * refactor(controllers): message reaction add remove previousReactions * refactor(controllers): message reaction remove remove previousReactions * fix(controllers): cache message reaction remove all * fix(controllers): cache message reaction remove emoji * fix(controllers): cache guild role create * fix(controllers): role delete event update cache and return eventHandler * fix(controllers): cache role update * don't return eventHandlers * don't return eventHandlers * feat(handlers): add getGatewayBot() & getApplicationInformation() (#428) * feat(handlers): add getGatewayBot() * refactor(bot): use getGatewayBot() to get gateway data * feat(handlers): add getApplicationInformation * add(handlers): getApplicationInformation jsdoc * Add oauth required types * create separate file * delete misc * OAuthApplication * forgot to update import * idk why that was here * fix(handlers): add missing handlers (#436) * types: better types (#413) * Update cache.ts * Update shard_manager.ts * feat(ws): add additional info to wsError debug event (#434) * feat(ws): better error debug message * Update src/ws/shard.ts Co-authored-by: Ayyan <[email protected]> Co-authored-by: Ayyan <[email protected]> * feat(handlers): add getAvailableVoiceRegions() (#425) * add voice endpoint * feat(handlers): add getVoiceRegions * Update mod.ts * remove breaking changes * feat(handlers): add getTemplate() (#422) * feat(handlers): getTemplate * update jsdoc * redirect this function * remove getGuildTemplate * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * remove breaking change * save in const * Update src/api/handlers/guild.ts Co-authored-by: Skillz4Killz <[email protected]> * Update src/api/handlers/guild.ts * Update src/api/handlers/guild.ts * Update mod.ts Co-authored-by: Ayyan <[email protected]> Co-authored-by: Skillz4Killz <[email protected]> * fix: use applicationID for slash commands instead of botID (#437) * add(bot): ApplicationID let & setApplicationID function * fix(controllers): set application id when bot is ready * refactor(util): rename botID argument to applicationID * fix(handlers): use applicationID * feat(handlers): add getInvite() & deleteInvite() (#421) * feat(handlers): add getInvite * feat(handlers): add deleteInvite * remove deving things * add jsdoc * move functions up * import got deleted * feat(handlers): invite better types * throw enum error * remove unnecessary checks * Update mod.ts * channel exists since botHasChannelPermissions did not throw any error * fix(handlers): edit/upsertSlashCommand function (#441) * fix(handlers): editSlashCommand function * this check is needed * fix(handlers): upsertSlashCommand function * fmt * add deprecated note * up * full use of options * after thinking it is better not * feat(handlers): add getSlashCommand() (#444) * refactor(util): COMMANDS_GUILD_ID constant arg order (#440) * fmt * refactor(util): change arg order for COMMANDS_GUILD_ID * refactor(handlers): change arg order for COMMANDS_GUILD_ID * feat(handlers): add getSlashCommand function * Update mod.ts * remove that * docs: improve wording & organize sections (#439) * docs: improve wording * idk * idk * idk * idk * i love discord.js * duplicate argh * edsoifghdsopsigv * idk Co-authored-by: Ayyan <[email protected]> Co-authored-by: Skillz <[email protected]> Co-authored-by: Skillz4Killz <[email protected]>
ghost
pushed a commit
to discordeno/discordeno
that referenced
this pull request
Jan 24, 2021
* ci(test): run workflow on label assignment (#364) * ci(test): run workflow on label assignment (#365) * ci(test): run workflow on label assignment * ci(test): remove paths * ci(test): run workflow on label assignment (#367) * ci(test): run workflow on label assignment * ci(test): remove paths * ci(test): run workflow on label assignment * ci: add "check" workflow (#370) * ci: add "check" workflow * ci: add check workflow * idk * ci(check): rename to "Type-check" * refactor(tests): separate tests into categories (#369) * refactor(tests): seperate tests into categories * idk * fix default avatars * test use depth 10 for error * remove extra log * test fix * test: attempt to fix "Token not provided" error (#384) * test: fix "Token not provided" error * idk wtf * Revert "idk wtf" This reverts commit 26063aa. * https://open.spotify.com/track/3ZWc3Bm8eUMRRJhSWKHHeV 🔥🔥 * Revert "test: attempt to fix "Token not provided" error (#384)" This reverts commit 6f21de2. * test(message): add missing tests (#371) * test(message): add missing tests * Add todo comment * docs: add jsdoc comments for event handlers (#376) * ci: another attempt to fix CI * ci: run workflow on push to master (#391) * types(message): make attachment dimensions optional Reference: discord/discord-api-docs#2214 * types(message): add 16 & 17 to MessageTypes * docs: improve wording (#363) * docs: improve wording * Thanks to Skillz <3 Co-authored-by: Skillz4Killz <[email protected]> Co-authored-by: Skillz4Killz <[email protected]> * Update README.md * refactor(util): update endpoints (#383) * Update constants.ts * fiiiixxxx * dupe * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * USER_DM * fix this and remove that * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * Update constants.ts * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * need these * hmm * rename GUILD_EMBED to GUILD_WIDGET * idk * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * Update constants.ts * Update constants.ts Co-authored-by: Ayyan <[email protected]> * feat: internal intents resolution (#390) * better intents typing * Update README.md * Update mod.test.ts * support enum too * fix(handlers): support for custom emoji in reaction remove functions (#400) * feat(handlers): inhibitors for deleteChannel() (#401) * better deleteChannel function * throw error if guild wasn't found * remove dm close ability * change this comment again * guildID should be first * chore: update exports (#402) * feat(handlers): add kickFromVoiceChannel() function (#407) * feat(handlers): add editChannelOverwrite() & deleteChannelOverwrite() (#403) * add editChannelOverwrite function * remove body constant Co-authored-by: Ayyan <[email protected]> * format * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * add deleteChannelOverwrite function * Mark permission in jsdoc Co-authored-by: Ayyan <[email protected]> Co-authored-by: Ayyan <[email protected]> * feat(controllers): cache updated guild object with new emojis (#414) * feat(handlers): add getEmoji() & getEmojis() (#406) * add(handlers): getEmojis * add(handlers): getEmoji * fix cache * addToCache argument * addtocache default to true * Update guild.ts * remove this * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> Co-authored-by: Ayyan <[email protected]> * feat(handlers): add startTyping() (#404) * feat(handlers): triggerTypingIndicator function * add period Co-authored-by: Ayyan <[email protected]> * startTyping is better Co-authored-by: Skillz4Killz <[email protected]> Co-authored-by: Ayyan <[email protected]> Co-authored-by: Skillz4Killz <[email protected]> * Revert "chore: update exports (#402)" This reverts commit 442350b. * feat(handlers): add getGuildPreview() (#408) * add(handlers): getGuildPreview * update comment * check if guild is discoverable * remove checking since getGuild does not work on unjoined guilds * feat(handlers): add editBotNickname() (#415) * feat(handlers): add editBotNickname * return a var * Update member.ts * Update src/api/handlers/member.ts Co-authored-by: Ayyan <[email protected]> * Update member.ts * Update member.ts Co-authored-by: Ayyan <[email protected]> * style: format files * fix(controllers): check if the cached content is same as the updated content (#426) * ci(lint): add fmt check step * ci(test): add fmt check script * feat(handlers): check for message max delete days (#416) * check prune max days * patch(handlers): max days is 30 * change in description too * fix: merge problems * refactor(util): remove GUILD_INTEGRATION_CREATE endpoint (#430) * fix(controllers): cache updated message on MESSAGE_UPDATE (#429) * fix(controllers): cache message on update event * forgot to paste that in * refactor: remove index signatures (#431) * refactor: remove index signatures * refactor(util): use getter instead (#432) * fix(controllers): update cache with new value in gateway events (#433) * fix(controllers): cache updated member * fix(controllers): cache update guild * fix(controllers): cache user update * fix(controllers): cache voice state update * refactor(controllers): message reaction add remove previousReactions * refactor(controllers): message reaction remove remove previousReactions * fix(controllers): cache message reaction remove all * fix(controllers): cache message reaction remove emoji * fix(controllers): cache guild role create * fix(controllers): role delete event update cache and return eventHandler * fix(controllers): cache role update * don't return eventHandlers * don't return eventHandlers * feat(handlers): add getGatewayBot() & getApplicationInformation() (#428) * feat(handlers): add getGatewayBot() * refactor(bot): use getGatewayBot() to get gateway data * feat(handlers): add getApplicationInformation * add(handlers): getApplicationInformation jsdoc * Add oauth required types * create separate file * delete misc * OAuthApplication * forgot to update import * idk why that was here * fix(handlers): add missing handlers (#436) * types: better types (#413) * Update cache.ts * Update shard_manager.ts * feat(ws): add additional info to wsError debug event (#434) * feat(ws): better error debug message * Update src/ws/shard.ts Co-authored-by: Ayyan <[email protected]> Co-authored-by: Ayyan <[email protected]> * feat(handlers): add getAvailableVoiceRegions() (#425) * add voice endpoint * feat(handlers): add getVoiceRegions * Update mod.ts * remove breaking changes * feat(handlers): add getTemplate() (#422) * feat(handlers): getTemplate * update jsdoc * redirect this function * remove getGuildTemplate * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * remove breaking change * save in const * Update src/api/handlers/guild.ts Co-authored-by: Skillz4Killz <[email protected]> * Update src/api/handlers/guild.ts * Update src/api/handlers/guild.ts * Update mod.ts Co-authored-by: Ayyan <[email protected]> Co-authored-by: Skillz4Killz <[email protected]> * fix: use applicationID for slash commands instead of botID (#437) * add(bot): ApplicationID let & setApplicationID function * fix(controllers): set application id when bot is ready * refactor(util): rename botID argument to applicationID * fix(handlers): use applicationID * feat(handlers): add getInvite() & deleteInvite() (#421) * feat(handlers): add getInvite * feat(handlers): add deleteInvite * remove deving things * add jsdoc * move functions up * import got deleted * feat(handlers): invite better types * throw enum error * remove unnecessary checks * Update mod.ts * channel exists since botHasChannelPermissions did not throw any error * fix(handlers): edit/upsertSlashCommand function (#441) * fix(handlers): editSlashCommand function * this check is needed * fix(handlers): upsertSlashCommand function * fmt * add deprecated note * up * full use of options * after thinking it is better not * feat(handlers): add getSlashCommand() (#444) * refactor(util): COMMANDS_GUILD_ID constant arg order (#440) * fmt * refactor(util): change arg order for COMMANDS_GUILD_ID * refactor(handlers): change arg order for COMMANDS_GUILD_ID * feat(handlers): add getSlashCommand function * Update mod.ts * remove that * docs: improve wording & organize sections (#439) * docs: improve wording * idk * idk * idk * idk * i love discord.js * duplicate argh * edsoifghdsopsigv * idk * Update guild.ts Co-authored-by: Ayyan <[email protected]> Co-authored-by: Skillz <[email protected]> Co-authored-by: Skillz4Killz <[email protected]>
ghost
pushed a commit
to discordeno/discordeno
that referenced
this pull request
Jan 24, 2021
* ci(test): run workflow on label assignment (#364) * ci(test): run workflow on label assignment (#365) * ci(test): run workflow on label assignment * ci(test): remove paths * ci(test): run workflow on label assignment (#367) * ci(test): run workflow on label assignment * ci(test): remove paths * ci(test): run workflow on label assignment * ci: add "check" workflow (#370) * ci: add "check" workflow * ci: add check workflow * idk * ci(check): rename to "Type-check" * refactor(tests): separate tests into categories (#369) * refactor(tests): seperate tests into categories * idk * fix default avatars * test use depth 10 for error * remove extra log * test fix * test: attempt to fix "Token not provided" error (#384) * test: fix "Token not provided" error * idk wtf * Revert "idk wtf" This reverts commit 26063aa. * https://open.spotify.com/track/3ZWc3Bm8eUMRRJhSWKHHeV 🔥🔥 * Revert "test: attempt to fix "Token not provided" error (#384)" This reverts commit 6f21de2. * test(message): add missing tests (#371) * test(message): add missing tests * Add todo comment * docs: add jsdoc comments for event handlers (#376) * ci: another attempt to fix CI * ci: run workflow on push to master (#391) * types(message): make attachment dimensions optional Reference: discord/discord-api-docs#2214 * types(message): add 16 & 17 to MessageTypes * docs: improve wording (#363) * docs: improve wording * Thanks to Skillz <3 Co-authored-by: Skillz4Killz <[email protected]> Co-authored-by: Skillz4Killz <[email protected]> * Update README.md * refactor(util): update endpoints (#383) * Update constants.ts * fiiiixxxx * dupe * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * USER_DM * fix this and remove that * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * Update constants.ts * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * need these * hmm * rename GUILD_EMBED to GUILD_WIDGET * idk * Update src/util/constants.ts Co-authored-by: Ayyan <[email protected]> * Update constants.ts * Update constants.ts Co-authored-by: Ayyan <[email protected]> * feat: internal intents resolution (#390) * better intents typing * Update README.md * Update mod.test.ts * support enum too * fix(handlers): support for custom emoji in reaction remove functions (#400) * feat(handlers): inhibitors for deleteChannel() (#401) * better deleteChannel function * throw error if guild wasn't found * remove dm close ability * change this comment again * guildID should be first * chore: update exports (#402) * feat(handlers): add kickFromVoiceChannel() function (#407) * feat(handlers): add editChannelOverwrite() & deleteChannelOverwrite() (#403) * add editChannelOverwrite function * remove body constant Co-authored-by: Ayyan <[email protected]> * format * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * add deleteChannelOverwrite function * Mark permission in jsdoc Co-authored-by: Ayyan <[email protected]> Co-authored-by: Ayyan <[email protected]> * feat(controllers): cache updated guild object with new emojis (#414) * feat(handlers): add getEmoji() & getEmojis() (#406) * add(handlers): getEmojis * add(handlers): getEmoji * fix cache * addToCache argument * addtocache default to true * Update guild.ts * remove this * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> Co-authored-by: Ayyan <[email protected]> * feat(handlers): add startTyping() (#404) * feat(handlers): triggerTypingIndicator function * add period Co-authored-by: Ayyan <[email protected]> * startTyping is better Co-authored-by: Skillz4Killz <[email protected]> Co-authored-by: Ayyan <[email protected]> Co-authored-by: Skillz4Killz <[email protected]> * Revert "chore: update exports (#402)" This reverts commit 442350b. * feat(handlers): add getGuildPreview() (#408) * add(handlers): getGuildPreview * update comment * check if guild is discoverable * remove checking since getGuild does not work on unjoined guilds * feat(handlers): add editBotNickname() (#415) * feat(handlers): add editBotNickname * return a var * Update member.ts * Update src/api/handlers/member.ts Co-authored-by: Ayyan <[email protected]> * Update member.ts * Update member.ts Co-authored-by: Ayyan <[email protected]> * style: format files * fix(controllers): check if the cached content is same as the updated content (#426) * ci(lint): add fmt check step * ci(test): add fmt check script * feat(handlers): check for message max delete days (#416) * check prune max days * patch(handlers): max days is 30 * change in description too * fix: merge problems * refactor(util): remove GUILD_INTEGRATION_CREATE endpoint (#430) * fix(controllers): cache updated message on MESSAGE_UPDATE (#429) * fix(controllers): cache message on update event * forgot to paste that in * refactor: remove index signatures (#431) * refactor: remove index signatures * refactor(util): use getter instead (#432) * fix(controllers): update cache with new value in gateway events (#433) * fix(controllers): cache updated member * fix(controllers): cache update guild * fix(controllers): cache user update * fix(controllers): cache voice state update * refactor(controllers): message reaction add remove previousReactions * refactor(controllers): message reaction remove remove previousReactions * fix(controllers): cache message reaction remove all * fix(controllers): cache message reaction remove emoji * fix(controllers): cache guild role create * fix(controllers): role delete event update cache and return eventHandler * fix(controllers): cache role update * don't return eventHandlers * don't return eventHandlers * feat(handlers): add getGatewayBot() & getApplicationInformation() (#428) * feat(handlers): add getGatewayBot() * refactor(bot): use getGatewayBot() to get gateway data * feat(handlers): add getApplicationInformation * add(handlers): getApplicationInformation jsdoc * Add oauth required types * create separate file * delete misc * OAuthApplication * forgot to update import * idk why that was here * fix(handlers): add missing handlers (#436) * types: better types (#413) * Update cache.ts * Update shard_manager.ts * feat(ws): add additional info to wsError debug event (#434) * feat(ws): better error debug message * Update src/ws/shard.ts Co-authored-by: Ayyan <[email protected]> Co-authored-by: Ayyan <[email protected]> * feat(handlers): add getAvailableVoiceRegions() (#425) * add voice endpoint * feat(handlers): add getVoiceRegions * Update mod.ts * remove breaking changes * feat(handlers): add getTemplate() (#422) * feat(handlers): getTemplate * update jsdoc * redirect this function * remove getGuildTemplate * Update src/api/handlers/guild.ts Co-authored-by: Ayyan <[email protected]> * remove breaking change * save in const * Update src/api/handlers/guild.ts Co-authored-by: Skillz4Killz <[email protected]> * Update src/api/handlers/guild.ts * Update src/api/handlers/guild.ts * Update mod.ts Co-authored-by: Ayyan <[email protected]> Co-authored-by: Skillz4Killz <[email protected]> * fix: use applicationID for slash commands instead of botID (#437) * add(bot): ApplicationID let & setApplicationID function * fix(controllers): set application id when bot is ready * refactor(util): rename botID argument to applicationID * fix(handlers): use applicationID * feat(handlers): add getInvite() & deleteInvite() (#421) * feat(handlers): add getInvite * feat(handlers): add deleteInvite * remove deving things * add jsdoc * move functions up * import got deleted * feat(handlers): invite better types * throw enum error * remove unnecessary checks * Update mod.ts * channel exists since botHasChannelPermissions did not throw any error * fix(handlers): edit/upsertSlashCommand function (#441) * fix(handlers): editSlashCommand function * this check is needed * fix(handlers): upsertSlashCommand function * fmt * add deprecated note * up * full use of options * after thinking it is better not * feat(handlers): add getSlashCommand() (#444) * refactor(util): COMMANDS_GUILD_ID constant arg order (#440) * fmt * refactor(util): change arg order for COMMANDS_GUILD_ID * refactor(handlers): change arg order for COMMANDS_GUILD_ID * feat(handlers): add getSlashCommand function * Update mod.ts * remove that * docs: improve wording & organize sections (#439) * docs: improve wording * idk * idk * idk * idk * i love discord.js * duplicate argh * edsoifghdsopsigv * idk * fix bug * Delete options.ts Co-authored-by: Ayyan <[email protected]> Co-authored-by: Skillz <[email protected]> Co-authored-by: Skillz4Killz <[email protected]>
itohatweb
added a commit
to discordeno/discordeno
that referenced
this pull request
Apr 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR marks
height
andwidth
in a message's attachment as being optional in addition to only nullable.Creating a message with a file that is not interpreted as an image (e.g. a txt file) results in a message response with an attachment that does not contain the
height
andwidth
fields.