aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/moderation.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-09-14 13:23:44 +0200
committerGravatar Leon Sandøy <[email protected]>2019-09-14 13:23:44 +0200
commit279fa85b93d5017a63d68516b2477a86920caa16 (patch)
tree92db20c3d0d3f8abe81cb9425090729c8917a3a1 /bot/utils/moderation.py
parentMake 'post_infraction' catch the right exception (diff)
Improvements to the Wolfram cog.
This commit adds clearer error messages for all the errors produced by the Wolfram cog if the API key is missing in the config, or if the key isn't valid anymore. It also humanizes the timedelta returned in the error users get when they run out their cooldown. Instead of telling them they need to wait 84000 seconds, it will now tell them they need to wait 23 hours, 59 minutes ...
Diffstat (limited to 'bot/utils/moderation.py')
0 files changed, 0 insertions, 0 deletions