diff --git a/minato_namikaze/bot_files/cogs/fun/encoding.py b/minato_namikaze/bot_files/cogs/fun/encoding.py index 8da8133c..3d2bcdb6 100644 --- a/minato_namikaze/bot_files/cogs/fun/encoding.py +++ b/minato_namikaze/bot_files/cogs/fun/encoding.py @@ -23,13 +23,15 @@ def pagify( text: str, - delims: Sequence[str] = ["\n"], + delims: Sequence[str] = None, *, priority: bool = False, escape_mass_mentions: bool = True, shorten_by: int = 8, page_length: int = 2000, ) -> Iterator[str]: + if delims is None: + delims = ["\n"] in_text = text page_length -= shorten_by while len(in_text) > page_length: