Skip to content

Commit 6683311

Browse files
committed
fix: only surpress failures
1 parent 42070be commit 6683311

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

core/utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,10 +460,9 @@ def safe_typing(target):
460460
def trigger_typing(func):
461461
@functools.wraps(func)
462462
async def wrapper(self, ctx: commands.Context, *args, **kwargs):
463-
# Fire and forget typing; do not block on failures
463+
# Keep typing active for the duration of the command; suppress failures
464464
async with safe_typing(ctx):
465-
pass
466-
return await func(self, ctx, *args, **kwargs)
465+
return await func(self, ctx, *args, **kwargs)
467466

468467
return wrapper
469468

diff-summary.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)