aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-03-15 23:20:03 +0100
committerGravatar Numerlor <[email protected]>2020-03-15 23:20:03 +0100
commit166a4368a786c7aa1446a0348cec8c19307f1e55 (patch)
tree3bd86fef3ea42bc11f7a3f1b7a80472ff1a975b4
parentSet `_get_instance_vars_event` in test's `setUp`. (diff)
Remove long indentation from docstrings.
-rw-r--r--bot/cogs/error_handler.py4
-rw-r--r--bot/converters.py8
2 files changed, 6 insertions, 6 deletions
diff --git a/bot/cogs/error_handler.py b/bot/cogs/error_handler.py
index 73757b7b7..bad6e51a3 100644
--- a/bot/cogs/error_handler.py
+++ b/bot/cogs/error_handler.py
@@ -98,8 +98,8 @@ class ErrorHandler(Cog):
Attempt to invoke the silence or unsilence command if invoke with matches a pattern.
Respecting the checks if:
- invoked with `shh+` silence channel for amount of h's*2 with max of 15.
- invoked with `unshh+` unsilence channel
+ * invoked with `shh+` silence channel for amount of h's*2 with max of 15.
+ * invoked with `unshh+` unsilence channel
Return bool depending on success of command.
"""
command = ctx.invoked_with.lower()
diff --git a/bot/converters.py b/bot/converters.py
index 635fef1c7..2b413f039 100644
--- a/bot/converters.py
+++ b/bot/converters.py
@@ -273,10 +273,10 @@ class HushDurationConverter(Converter):
If `"forever"` is passed, None is returned; otherwise an int of the extracted time.
Accepted formats are:
- <duration>,
- <duration>m,
- <duration>M,
- forever.
+ * <duration>,
+ * <duration>m,
+ * <duration>M,
+ * forever.
"""
if argument == "forever":
return None