Interface¶
This is the most important class in the library for you, as it contains all the assertions and tools you need to interface with the library. Generally broken down into a few overall types:
- Message (i.e.
assert_message_contains
): Does not send it’s own message, so it require aMessage
to be passed in. - Reply (i.e.
assert_reply_contains
): Sends a message containing the text in contents and analyzes messages sent after that. - Use
get_delayed_reply
to wait an amount of time before checking for a reply
- Use
- Reply (i.e.
- Embed (i.e.
assert_embed_equals
): Sends a message then checks the embed of the response against a list of attributes - Other Tests (i.e.
ask_human
): Some tests do weird things and don’t have a clear category. - Interface Functions (i.e.
connect
,send_message
): Help other tests but also can be useful in making custom tests out of the other tests.