aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_helpers.py
diff options
context:
space:
mode:
authorGravatar mathsman5133 <[email protected]>2020-05-16 13:11:25 +1000
committerGravatar mathsman5133 <[email protected]>2020-05-16 13:11:25 +1000
commitc71c538c265e325f7aa4ee9cb9f298b2f50d38f1 (patch)
treea565e2f11183f5b75b9c11d2afd85273cb6846e9 /tests/test_helpers.py
parentMerge branch 'master' into help-refactor (diff)
fix redirect_output decorator; remove ninja code
- Lots of instance of `for c in ...` or `for a in ...` or `fmt` which are non-descriptive and sometimes cryptic. - Ves suggested running the command in an asyncio task for `@redirect_output`, rather than making a workaround which only applies to the help command. This fixes a fundamental flaw where the redirection message wouldn't be deleted until a further 60sec after the command has finished, which for `!help` could be up to 5min, meaning the invocation message could be sitting there for 6min, not the intended 60sec.
Diffstat (limited to 'tests/test_helpers.py')
0 files changed, 0 insertions, 0 deletions