mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
discord.py 2.0 update (3d914e08->2.0.1) (#5709)
This commit is contained in:
@@ -50,8 +50,21 @@ def test_dpy_commands_reexports():
|
||||
dpy_attrs.add(attr_name)
|
||||
|
||||
missing_attrs = dpy_attrs - set(commands.__dict__.keys())
|
||||
# temporarily ignore things related to app commands as the work on that is done separately
|
||||
missing_attrs -= {
|
||||
"GroupCog",
|
||||
"HybridGroup",
|
||||
"hybrid_group",
|
||||
"hybrid_command",
|
||||
"HybridCommand",
|
||||
"HybridCommandError",
|
||||
}
|
||||
|
||||
assert not missing_attrs
|
||||
if missing_attrs:
|
||||
pytest.fail(
|
||||
"redbot.core.commands is missing these names from discord.ext.commands: "
|
||||
+ ", ".join(missing_attrs)
|
||||
)
|
||||
|
||||
|
||||
def test_converter_timedelta():
|
||||
|
||||
Reference in New Issue
Block a user