Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Bump discordrb from 3.3.0 to 3.4.0 #38

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps discordrb from 3.3.0 to 3.4.0.

Release notes

Sourced from discordrb's releases.

v3.4.0

Changelog

Sourced from discordrb's changelog.

3.4.0 - 2020-12-06

View diff for this release.

Summary

This release has been a very long time coming. It brings countless fixes, performance increases, features, and changes. So many in fact, that it's only feasible to put the major hilights in summary.

The largest additions are that of intents support and a massive performance increase in our websocket read loop.

Intents allow you to pick and choose what types of events are fed to your bot over the gateway. An example usage would be:

Discordrb::Bot.new(token: 'B0T.T0K3N', intents: %i[servers server_messages])

In this example, we would only recieve the following events

  • GUILD_CREATE
  • GUILD_UPDATE
  • GUILD_DELETE
  • GUILD_ROLE_CREATE
  • GUILD_ROLE_UPDATE
  • GUILD_ROLE_DELETE
  • CHANNEL_CREATE
  • CHANNEL_UPDATE
  • CHANNEL_DELETE
  • CHANNEL_PINS_UPDATE
  • MESSAGE_CREATE
  • MESSAGE_UPDATE
  • MESSAGE_DELETE
  • MESSAGE_DELETE_BULK

This feature is still experimental, as it is still unclear how some interactions within the library behave when denied previously expected events. This support will improve over time. If you want more information on intents you can read the official documentation as well as the documentation for Discordrb::INTENTS and Discordrb::Bot#initialize.

Added

  • Bot#parse_mentions, which extracts all mentions found in a string (#526, thanks @SanksTheYokai)
  • Issue and pull request templates (#585)
  • Server#bot method for obtaining your bot's own Member on a particular server (#597)
  • Attachment#spoiler?, to check if an attachment is a spoiler or not (#603, thanks @swarley)
  • Methods on Server to manage the server's emoji (#595, thanks @swarley)
  • Paginator utility class for wrapping paginated endpoints (#579)
  • EventContainer#message_update, which is fired whenever a message is updated, either by Discord or the user (#612, thanks @swarley)
  • Message#server (#614, thanks @swarley)
  • Channel#news?, Channel#store? (#618, thanks @swarley)
  • Server#bot_members, Server#non_bot_members (#626, thanks @flutterflies)
  • API.get_gateway_bot (#632)
  • Channel#create_webhook (#637, thanks @Chew)
Commits
  • cec5d68 v3.4.0
  • 84ac43d Add inline reply support via reply! (#3)
  • 8208d6b fixup: nil default for intents on CommandBot
  • b6231b0 fixup: check for member field before updating
  • 751261c Update member data from messages when possible
  • 9e540ff fixup: compact nil activity in Bot#update_status
  • efe8a53 Dependency and RuboCop chores (#2)
  • 140defb fixup
  • a1de871 Update CHANGELOG.md
  • 0f08de6 fixup gemspec style
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 6, 2020
@dependabot-preview
Copy link
Contributor Author

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot-preview
Copy link
Contributor Author

Superseded by #47.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/discordrb-3.4.0 branch February 4, 2021 18:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants