fix(pterodactyl): fixed TypeError
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 19s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 20s

This commit is contained in:
Seaswimmer 2024-02-29 21:41:00 -05:00
parent cccc941e26
commit 07835e7b13
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -91,7 +91,7 @@ class Pterodactyl(commands.Cog):
if content.startswith('['): if content.startswith('['):
pagified_content = pagify(content, delims=[" ", "\n"]) pagified_content = pagify(content, delims=[" ", "\n"])
for page in pagified_content: for page in pagified_content:
await channel.send(pagified_content=page) await channel.send(content=page)
chat_message = await self.check_if_chat_message(content) chat_message = await self.check_if_chat_message(content)
if chat_message: if chat_message: