Preparations for d.py 1.4 (includes breaking changes related to mass mentions) #3845

Merged
Jackenmen merged 9 commits from V3/dpy_1.4 into V3/develop 2020-08-10 21:19:01 +02:00
Jackenmen commented 2020-05-12 03:29:33 +02:00 (Migrated from github.com)

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

This PR contains changes needed due to d.py 1.4 release as well as this (breaking) change:

  1. By default, none of the .send() methods will mention roles or @​everyone/@​here.
    1.1. d.py 1.4 introduces allowed_mentions kwarg to .send() methods that can be used to make the message mention roles or @​everyone/@​here (NOTICE: this may still change before d.py 1.4 release)
    1.2. sanitize_roles kwarg mentioned in the previous breaking change notice from Flame will NOT be implemented.
    1.3. The default value of the filter kwarg in Context.send() will be changed to None which means that enabling @​everyone/@​here mentions will now require using the allowed_mentions kwarg instead.

Fixes #4069 (indirectly, through dependency update)

### Type - [ ] Bugfix - [x] Enhancement - [ ] New feature ### Description of the changes This PR contains changes needed due to d.py 1.4 release as well as this (breaking) change: > 1. By default, none of the `.send()` methods will mention roles or @​everyone/@​here. > 1.1. d.py 1.4 introduces allowed_mentions kwarg to `.send()` methods that can be used to make the message mention roles or @​everyone/@​here (NOTICE: this may still change before d.py 1.4 release) > 1.2. `sanitize_roles` kwarg mentioned in the previous breaking change notice from Flame will NOT be implemented. > 1.3. The default value of the `filter` kwarg in `Context.send()` will be changed to `None` which means that enabling @​everyone/@​here mentions will now require using the `allowed_mentions` kwarg instead. Fixes #4069 (indirectly, through dependency update)
Jackenmen commented 2020-08-06 03:46:27 +02:00 (Migrated from github.com)

A reminder to myself that I need to look through DEP-WARN comments again before marking this as ready for review.

A reminder to myself that I need to look through `DEP-WARN` comments again before marking this as ready for review.
Jackenmen commented 2020-08-06 18:41:10 +02:00 (Migrated from github.com)

This is now ready for review.

This is now ready for review.
Drapersniper (Migrated from github.com) reviewed 2020-08-10 19:47:42 +02:00
@ -46,3 +46,3 @@
contextlib2==0.6.0.post1
discord.py==1.3.4
discord.py==1.4.1
distro==1.5.0; sys_platform == "linux"
Drapersniper (Migrated from github.com) commented 2020-08-10 19:47:42 +02:00

can you also bump
Red-Lavalink==0.5.1 to 0.6.0 ?

can you also bump `Red-Lavalink==0.5.1` to 0.6.0 ?
Drapersniper (Migrated from github.com) approved these changes 2020-08-10 20:47:45 +02:00
Drapersniper (Migrated from github.com) left a comment

LGTM, thanks @jack1142 and @PredaaA

LGTM, thanks @jack1142 and @PredaaA
Sign in to join this conversation.
No reviewers
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!3845
No description provided.