Releases: CraftSpider/dpytest
v0.7.0
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()
v0.6.8
discord.py 2.3
v0.6.7
v0.6.6
Changes in this Release
- Support asyncio tasks that have no __name__
v0.6.5
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
v0.6.4
Changes in this Release
- Fix: edit message doesn't update message queue
- Refactor
__init__.pyimport to be explicit exports as per PEP 484
v0.6.3
Changes in this Release
- Update requirements for discord.py 2.2.2
v0.6.2
Changes in this Release
- Fix factories for Member for the "flags" issue new in discord.py 2.2.0
v0.6.1
Changes in this Release
- Lint to pass flake8 CI/CD
v0.6.0
Changes in this Release
- 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