Module tbot::predicates::media[][src]

A few useful predicates for media messages.

Functions

match_extension

Checks if the document’s extension matches one of the given extensions.