aboutsummaryrefslogtreecommitdiff
path: root/docs/locale/ja
diff options
context:
space:
mode:
authorslice <[email protected]>2019-03-16 20:24:31 -0700
committerDanny <[email protected]>2019-03-16 23:24:31 -0400
commit66af80511f63cb5cb24b06c65bb8aa4697419cfc (patch)
treeed175c4b8534136fb0aaa1107f8c7afc89af6aa8 /docs/locale/ja
parentConsider news channel type as a TextChannel (diff)
downloaddiscord.py-66af80511f63cb5cb24b06c65bb8aa4697419cfc.tar.xz
discord.py-66af80511f63cb5cb24b06c65bb8aa4697419cfc.zip
Fix pagination of huge command help messages (> ~2,000 chars)
Previously, calls to add_line in add_command_formatting of default help commands would fail if the command's help message would overflow the current page. This would also result in silent failure as the RuntimeError raised from add_line is never caught. This patch adds behavior that adds lines individually should it raise, which guarantees safe pagination as long as every line is smaller than the maximum page size, which is highly unlikely.
Diffstat (limited to 'docs/locale/ja')
0 files changed, 0 insertions, 0 deletions