A package that assists in writing tests for discord.py
MIT License
Bot releases are visible (Hide)
⚠️ Warning ⚠️:
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:
content_type
to dict_from_attachment()
Published by github-actions[bot] over 1 year ago
discord.py 2.3
Published by github-actions[bot] over 1 year ago
This release allows testing with Voice Channels.
New :
FakeVoiceChannel
and FakeVoiceClient
classes implemetationChanges :
create_channel
method can create voice channel⚠️ Warning ⚠️:
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
Published by github-actions[bot] over 1 year ago
Changes in this Release
Published by github-actions[bot] over 1 year ago
Changes in this Release
Published by github-actions[bot] over 1 year ago
Changes in this Release
__init__.py
import to be explicit exports as per PEP 484Published by github-actions[bot] over 1 year ago
Changes in this Release
Published by github-actions[bot] over 1 year ago
Changes in this Release
Published by github-actions[bot] almost 2 years ago
Changes in this Release
Published by github-actions[bot] almost 2 years ago
Changes in this Release
Published by github-actions[bot] over 3 years ago
Changes in this Release
Published by github-actions[bot] over 3 years ago
Changes in this Release
Published by github-actions[bot] over 3 years ago
Changes in this Release
Published by github-actions[bot] over 3 years ago
Changes in this Release
Published by github-actions[bot] over 3 years ago
Changes in this Release
Published by github-actions[bot] over 3 years ago
Changes in this Release
Published by github-actions[bot] over 3 years ago
Changes in this Release
Published by Sergeileduc over 3 years ago
role_mentions=None
being not iterable.Published by Sergeileduc over 3 years ago
Published by CraftSpider over 4 years ago
As of this version, dpytest now has a readthedocs, as well as travis tests. Also included: