This can be breaking :
The configure function has changed.
It nows accepts either an int (like in the previous version) OR a list of string for the parameters guilds, text_channels, voice_channels and members.
But the names of the parameters had to be changed.
num_guilds, num_text_channels, num_voice_channels, num_members are DERECATED.
Example:
dpytest.configure(bot,
guilds=["CoolGuild", "LameGuild"],
text_channels=["Fruits", "Videogames"],
voice_channels=2,
members=["Joe", "Jack", "William", "Averell"])Other changes:
- fixes in typing
- add
content_typetodict_from_attachment()
Test agains discord.py 2.3
Fix bug in channel_history
Fix issue #111
Support asyncio tasks that have no __name__
This release allows testing with Voice Channels.
New :
FakeVoiceChannelandFakeVoiceClientclasses implemetation- New tests
Changes :
create_channelmethod can create voice channel
This can be breaking :
the configure() function DOESN'T take the keyword parameter num_channels anymore, but instead :
num_text_channels and num_voice_channels
- Fix: edit message doesn't update message queue
- Refactor init.py import to be explicit exports as per PEP 484
- Update requirements for discord.py 2.2.2
This is the version for discord.py 2.2.0
- Embed equality check now checks for equality of fields.
- Fix members factories to add the "flags" key (necessary in 2.2.0)
- Linting
- First version for working with dpytest>=2.X.X Changes have been made in backend, factories, websocket
- Change the README
- Change the setup.py for python >= 3.8
- Changing in doc
- Docs: Add vertical spacing for functions & methods
- Fix behaviour 'discord.Role.edit' with hoist, mentionable, etc.
- Get member mentions by using the user ID in mention
- NEW methods : Pins, get_user, & clear_reactions
- fix utils functions imports
- Remove the runner verification methods, replace them with verification builders
- Rename simulate_reaction -> add_reaction and make it take a user to react as
- unrealease (error when bumping version)
- Merge hint files into .py files
- Use typing export of Pattern
- Add content type to attachments
- Overwrite _guild_needs_chunking (fix for asyncio wait_for errors)
- Bump version (sould have done that with 0.0.23, since many changes have been commited)
- Bug fix with role_mentions=None being not iterable.
- Support for discord.py 1.7.1
- Attachments allowed on messages
- verify_embed without test fixed
- Add members intent
- Added more testing