fix(rss): message longer than 2000 in listtags (#265)

This commit is contained in:
Julien Mauroy
2022-04-04 21:19:41 +02:00
committed by GitHub
parent a5c39f7302
commit 7116f16f7e

View File

@@ -1048,7 +1048,8 @@ class RSS(commands.Cog):
msg += "\n\n\t[X] = html | [\\] = dictionary | [-] = list | [ ] = plain text"
msg += "\n\t[*] = specially-generated tag, may not be present in every post"
await ctx.send(box(msg, lang="ini"))
for msg_part in pagify(msg, delims=["\n\t", "\n\n"]):
await ctx.send(box(msg_part, lang="ini"))
@checks.is_owner()
@rss.group(name="parse")