Skip to content

Commit b5ebd12

Browse files
committed
Improve missing argument handling
1 parent c155203 commit b5ebd12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shinobu/runtime/modules/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async def handle_error(self, ctx: bridge.BridgeApplicationContext | bridge.Bridg
6363
error_description = "You don't have the right permissions to run this command."
6464
elif isinstance(error, commands.MissingRequiredArgument):
6565
error_title = "eh? 0.0"
66-
error_description = str(error)
66+
error_description = f"`{error.param.name}` is a required argument that is missing."
6767
else:
6868
# Unexpected error
6969
record_error = True

0 commit comments

Comments
 (0)