What's Changed
NOTE
This requires Intents.message_content to receive content for messages, see here for more info
Features
- cogs: allow setup function to be async by @MaskDuck in #536
- ui: Modal _expires_at and View auto_defer by @DenverCoder1 in #555
- app-cmds: add
autocomplete_functionas an argument toSlashOptionby @DenverCoder1 in #544 - events: add close event (#349) by @pmdevita in #553
- to_file for assets, emojis, and stickers by @DenverCoder1 in #562
- interactions: make send return a PartialInteractionMessage by @DenverCoder1 in #573
- embeds: set image and thumbnail to not be kwarg forced by @RamzziSudip in #603
- filename and description kwargs in to_file by @DenverCoder1 in #602
- embeds: return the Embed from
Embed.clear_fields()by @MaskDuck in #626 - embeds: return Embed from
Embed.remove_fieldby @DenverCoder1 in #630 - interactions: return message from InteractionResponse.edit_message by @DenverCoder1 in #622
- member: add a disconnect helper method by @ToasterUwU in #637
- app-cmds: ignore_forbidden kwarg, fix error with app check deco order by @alentoghostflame in #657
Breaking Changes
- guild: update bans to use an iterator and pagination by @DenverCoder1 in #564
- remove store channel functionality by @H4ckerxx44 in #560
- app-cmds: rename classes, support app permissions and localisation by @alentoghostflame in #530
- use discord api v10 by @ooliver1 in #647
Bug fixes
- removing embeds when editing with files and add
embedstoPartialMessage.editby @DenverCoder1 in #551 - messages: add context_menu_command to is_system by @DenverCoder1 in #561
- app-cmds: support leaving out interaction in numpy docstring by @DenverCoder1 in #559
- app-cmds: pass default_permission correctly (Closes: #373) by @hlieberman in #383
- fix(member): fix typehint by @MaskDuck in #614
- app-checks: remove unused argument from ApplicationCommand and remove unused variable invoke_error by @okay1204 in #611
- channels: getting guild when no channel type by @DenverCoder1 in #652
- iterators: resolve infinite loop in scheduled event iterators by @ooliver1 in #644
- iterators: guild iterator can paginate properly and 200 per page by @shiftinv in #649
New Contributors
- @Georgeees made their first contribution in #554
- @pmdevita made their first contribution in #553
- @hlieberman made their first contribution in #383
- @ToasterUwU made their first contribution in #616
- @shiftinv made their first contribution in #649
Full Changelog: 2.0.0a10...2.0.0b1