ShotaKitazawa / minecraft-bot

Minecraft Notification Bot & Prometheus exporter
Apache License 2.0
9 stars 1 forks source link

Bump github.com/bwmarrin/discordgo from 0.22.1 to 0.23.0 #48

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps github.com/bwmarrin/discordgo from 0.22.1 to 0.23.0.

Release notes

Sourced from github.com/bwmarrin/discordgo's releases.

DiscordGo v0.23.0

Hi all! This is a big one.

API Version 8

The largest change for this version: the library now uses API version 8! Given the breaking changes in the API, there will be some breaking changes in this version:

  • Intents are now mandatory. The library continues to default to enabling all non-privileged intents, but it is no longer possible to disable intents entirely like it was in v6. Consequently, the Intents field in the Identify struct is no longer a pointer, and the use of MakeIntent is no longer required.
  • The Game struct is no more, and UpdateStatus was changed to UpdateGameStatus to better reflect the API structures. The previous uses of Game can now be encompassed in Activity.
  • Presences and presence updates no longer contain information about nicknames and roles; these are now sent exclusively by guild member updates.
  • Permissions are now represented by int64 rather than int throughout the library, as although there are no permissions currently above 32 bits, Discord explicitly notes that they expect to add additional permissions in the future.
  • Permission overwrite types now have constants in the library, rather than requiring a string value.

There will probably be issues that are discovered with the API version change. As always, please feel free to file an issue if any come up!

Additional Changes

  • Support for news channels #800
  • Support for user public flags #801
  • Support for guild member muting and deafening #804
  • Support for querying old voice state information in updates #833
  • Add application ID to webhooks #838
  • Support for replies #842
  • Support for fetching guild bans #848
  • Webhook interaction request verification #855
  • Add pending field for members #863

Special Thanks To

Commits
  • d4d47b6 Bump library version to v0.23.0
  • cbfa831 Merge pull request #866 from bwmarrin/v8
  • 90531dc Fix permissions type for UserGuild
  • 0f0aaad Correct header in rate limit test
  • bd34c3c Add comment for UnmarshalJSON
  • b7a2a4b Correct rate limit test magnitude
  • 9548146 Fix comment on UpdateGameStatus
  • 657ac04 Switch example to use UpdateGameStatus
  • c41dc15 Add changes to presences, remove Game type
  • 866eccc Support millisecond precision in rate limits
  • 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.


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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)