Distest¶
Distest makes it easy to write application tests for discord bots.
Distest uses a secondary bot to send commands to your bot and ensure that it responds as expected.
See the interface reference for a list of assertions this library is capable of.
Note
Two quick note about recent changes:
You NEED to enable the
membersintent on the tester bot. For more information, see Member IntentIf you’re using the
ext.commands.Botsystem, you will need to patch yourBotto allow it to listen to other discord bots, as usually commands ignore other bots. This is really easy, we provide the patching function, just take a look at the patching documentation page.
Getting Started
Reference