aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Den4200 <[email protected]>2020-07-01 17:03:02 +0000
committerGravatar Den4200 <[email protected]>2020-07-01 17:03:02 +0000
commit7eb3a5a7c1a38ad56f1e9584a24f2da9f00d0a40 (patch)
tree086fd639ed4441ecef1976415944fc1d7a738f21
parentCreate DurationDelta converter and humanize timedelta output for Slowmode cog. (diff)
Forgot an await in the Duration converter
-rw-r--r--bot/converters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/converters.py b/bot/converters.py
index 65963f513..898822165 100644
--- a/bot/converters.py
+++ b/bot/converters.py
@@ -228,7 +228,7 @@ class Duration(DurationDelta):
The converter supports the same symbols for each unit of time as its parent class.
"""
- delta = super().convert(ctx, duration)
+ delta = await super().convert(ctx, duration)
now = datetime.utcnow()
try: