Skip to content

Commit e686925

Browse files
committed
🐛 fix command prefix
1 parent c0bafb8 commit e686925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arclet/entari/command/provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def _remove_config_prefix(message: MessageChain):
2323
if not (command_prefix := EntariConfig.instance.basic.prefix):
2424
return message
2525
if message and isinstance(message[0], Text):
26-
text = message[0].text # type: ignore
26+
text = message[0].text.lstrip() # type: ignore
2727
for prefix in command_prefix:
2828
if not prefix:
2929
return message

0 commit comments

Comments
 (0)