aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/utils/function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/function.py b/bot/utils/function.py
index 5fd70e1e8..ab7f45761 100644
--- a/bot/utils/function.py
+++ b/bot/utils/function.py
@@ -108,7 +108,7 @@ def command_wraps(
assigned: t.Sequence[str] = functools.WRAPPER_ASSIGNMENTS,
updated: t.Sequence[str] = functools.WRAPPER_UPDATES,
) -> t.Callable[[types.FunctionType], types.FunctionType]:
- """Update `wrapped` to look like the decorated function and update globals for discordpy forwardref evaluation."""
+ """Update the decorated function to look like `wrapped` and update globals for discordpy forwardref evaluation."""
def decorator(wrapper: types.FunctionType) -> types.FunctionType:
return functools.update_wrapper(
update_wrapper_globals(wrapper, wrapped), wrapped, assigned, updated