Module formatting

Source
Expand description

Functions to format text before sending them to the user.

The functions defined in this module do not require any features to be enabled.

Structs§

PagifyOptions
A struct to set pagify’s options.

Functions§

escape_mass_mentions
Returns text after escaping mass mentions (@everyone and @here).
pagify
Breaks a large chuck of text into smaller pages.
text_to_file
Creates serenity’s AttachmentType from the given text.