aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/help.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-06-29 20:29:13 -0400
committerRapptz <[email protected]>2019-06-29 20:29:13 -0400
commitd4b13bd32b9701e6551c1e975c1fdb61fb5c869a (patch)
treea6572522002a62539658371907a6d13b08d3b612 /discord/ext/commands/help.py
parent[commands] Calculate suffix length at each add_line (diff)
downloaddiscord.py-d4b13bd32b9701e6551c1e975c1fdb61fb5c869a.tar.xz
discord.py-d4b13bd32b9701e6551c1e975c1fdb61fb5c869a.zip
[commands] Fix up Paginator documentation.
These aren't optional.
Diffstat (limited to 'discord/ext/commands/help.py')
-rw-r--r--discord/ext/commands/help.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py
index 72c74d33..a6706575 100644
--- a/discord/ext/commands/help.py
+++ b/discord/ext/commands/help.py
@@ -73,9 +73,9 @@ class Paginator:
Attributes
-----------
- prefix: Optional[:class:`str`]
+ prefix: :class:`str`
The prefix inserted to every page. e.g. three backticks.
- suffix: Optional[:class:`str`]
+ suffix: :class:`str`
The suffix appended at the end of every page. e.g. three backticks.
max_size: :class:`int`
The maximum amount of codepoints allowed in a page.