v3.5.0
Lots of changes, Discord is changing their API and we're trying to keep up. This release is a bit of a mess, but it's a necessary one.
What's Changed
- Fixup Bot#send_temporary_message; missing message_reference by @swarley in #17
- Add Competing to activity types by @kaine119 in #21
- fix: only specify ratelimit precision if required by @dali546 in #11
- fixup: remove bad conditional in Invite initializer by @swarley in #26
- Add doc links to API methods by @kaine119 in #12
- Pass a callable into CommandBot command_doesnt_exist_message: by @kmcphillips in #25
- Fixup message link by @swarley in #27
- V8 update by @swarley in #19
- Update webhooks gemspec to match by @rorhug in #28
- Fix lack of errors to flatten by @rorhug in #34
- Fix test for Ruby 3.0 by @mataku in #36
- Add ban/unban/kick directly to Member by @mattantonelli in #46
- Do not assume users are cached in presence update by @swarley in #35
- Add reaction awaits to Message by @kaine119 in #33
- Don't send an empty limit query parameter for Channel#get_reactions by @kaine119 in #39
- Webhook update by @swarley in #29
- Interactions API methods by @swarley in #6
- Update documentation for Message#reply! by @biqqles in #50
- fixup: Add server arg when creating member in Message#initialize by @swarley in #57
- bugfix: Do not parse 429s as a code error by @swarley in #59
- Add support for button interactions by @mattantonelli in #62
- Fix Member role_ids by @mattantonelli in #63
- One-line fix to make
examples/slash_commands.rb
work by @kenberland in #65 - Update permissions and add Permissions#defined_permissions by @Chew in #69
- Slash commands by @swarley in #71
- Bugfix: handle components when editing message by @detjensrobert in #73
- Drop EOL Ruby 2.5, update CI and dependencies by @PanisSupraOmnia in #80
- Fix typo in slash commands by @CryroFox in #75
- fix(Webhooks): Convert allowed_mentions to hash before execute by @swarley in #82
- Fix Interaction#button by @mattantonelli in #78
- Allow Bot#initialize to request only unprivileged intents by @biqqles in #55
- Check if we have the SERVER_MEMBERS intent before fetching server members by @kaine119 in #53
- Require message_id for Channel#load_message by @mattantonelli in #70
- Fixup: Paginate reactions by @Daniel-Worrall in #61
- Use query string builder instead of string interpolation for some queries by @kaine119 in #40
- Issue #37 resolution: New Reaction Workflows by @TheMesp in #76
- fix: Correct reacted_with spec and prevent extra API call. by @swarley in #84
- fix(Interactions): make slash command execution async by @swarley in #89
- feat: Add timestamp formatting helper by @swarley in #90
- fix: Use to_a to avoid rails problems by @swarley in #91
- fix: define path for send file by @swarley in #92
- refactor: Move View to webhooks by @swarley in #103
- feat!: Remove restricted channels check by @swarley in #101
- refactor: Use chunk_index and chunk_count to determine chunk status. by @swarley in #102
- fix: force guild recache from GUILD_CREATE by @swarley in #104
- fix: rescue from internal errors instead of rest-client by @swarley in #106
- feat: Add number and numeric options by @swarley in #109
- feat: Add application command permission builder by @swarley in #108
- Add method for fetching all application commands by @TeeSeal in #110
- fix: 429 runaway retry.
retry_after
is in seconds and so issleep
by @sadleb in #114 - feat: Support timeouts by @swarley in #113
- fix: Use retry-after response header if missing in the response body for 429 API bans by @Daniel-Worrall in #120
- fix: Use roles to determine ids when present by @swarley in #119
- fix(Interaction): serialize embeds in respond by @swarley in #121
- fix(ApplicationCommand): prevent nil into 0 for server_id by @swarley in #122
- fix(InteractionCreate): dont override user for interactions by @swarley in #123
- Feat/interaction permissions by @swarley in #124
- fix: expose components in interaction message by @swarley in #133
- feat: Threads by @swarley in #141
- fix: correct component typo by @swarley in #134
- Dependency Bumps, Test Matrix Update by @PanisSupraOmnia in #140
- Store RSpec metadata on CircleCI by @PanisSupraOmnia in #95
- Fix YARD for Message#reply by @biqqles in #54
- Deprecate group DM endpoint methods by @kaine119 in #86
- Use Docker executor in CI for deploying docs by @PanisSupraOmnia in #137
- Add components parameter in edit_response doc by @danrfq in #153
- Update channel.rb by @cwar in #160
- Added support of deleting all reactions for emoji in Channel by @makketagg in #161
- Fixed compatibility of full_messages for Ruby 3.0 by @makketagg in #164
- Fix minor typo in example code by @drusepth in #166
- fix: update audit log processing by @swarley in #171
- Prepare for discord deprecations by @idk837384 in #179
- Add support for slash command mentions by @idk837384 in #180
- Add new channel types. by @connorshea in #151
- feat: add modals by @swarley in #150
- feat: add role icons by @swarley in #159
- feat: add user badges by @swarley in #172
- Fixed Discordrb::API::Channel.delete_all_emoji_reactions spec by @makketagg in #162
- Minor fixes and making style consistent in Markdown files by @PanisSupraOmnia in #99
- Modification of the maximum value of rate_limit_per_user by @Dakurei in #176
- Ruby 2.6 EOL and Dependency Chores by @PanisSupraOmnia in #156
- #application_command_response and #type for message by @idk837384 in #181
- Add to_message to Interactions::Message by @dylhack in #155
- Update year for LICENSE.txt by @idk837384 in #188
- fix: Server#max_emoji returning wrong value by @Birdie0 in #196
- Add CodeQL workflow by @Kwstubbs in #200
- feat: optimize user caching for invites by @swarley in #205
- Add "disabled" attribute for the select menu builder by @max-fry-apps in #206
- Update LICENSE.txt by @idk837384 in #207
- feat: new selects, bugfixes, voice fix by @Dakurei in #209
- Update of the RSA SSH fingerprint of Github.com by @Dakurei in #210
- Add Localization Support by @idk837384 in #190
- Revert "Add Localization Support" by @PixeLInc in #212
- Bugfix - Kwarg forgotten in string_select method by @Dakurei in #214
- Fix Threads Events by @Dakurei in #218
- Feature: Support attachment option type by @Birdie0 in #197
- Allow disconnect user from a voice channel via the Server#move method by @Dakurei in #226
- Fix thread delete method call by @Daniel-Worrall in #229
- Add tags to role model by @gracz21 in #230
- New usernames system by @Dakurei in #221
- feat: version bump by @swarley in #231
New Contributors
- @kaine119 made their first contribution in #21
- @dali546 made their first contribution in #11
- @kmcphillips made their first contribution in #25
- @rorhug made their first contribution in #28
- @mataku made their first contribution in #36
- @mattantonelli made their first contribution in #46
- @biqqles made their first contribution in #50
- @kenberland made their first contribution in #65
- @Chew made their first contribution in #69
- @detjensrobert made their first contribution in #73
- @CryroFox made their first contribution in #75
- @Daniel-Worrall made their first contribution in #61
- @TheMesp made their first contribution in #76
- @TeeSeal made their first contribution in #110
- @sadleb made their first contribution in #114
- @danrfq made their first contribution in #153
- @cwar made their first contribution in #160
- @makketagg made their first contribution in #161
- @drusepth made their first contribution in #166
- @idk837384 made their first contribution in #179
- @connorshea made their first contribution in #151
- @Dakurei made their first contribution in #176
- @dylhack made their first contribution in #155
- @Birdie0 made their first contribution in #196
- @Kwstubbs made their first contribution in #200
- @max-fry-apps made their first contribution in #206
- @PixeLInc made their first contribution in #212
- @gracz21 made their first contribution in #230
Full Changelog: v3.4.0...v3.5.0