Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
Yasir Aris M 2023-11-17 18:22:12 +07:00 committed by GitHub
parent dc5b0411c1
commit 8475225d68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ LOGGER = getLogger("MissKaty")
@property
def parse_cmd(msg):
if len(msg.command) > 1:
return msg.split(None, 1)[1]
return msg.text.split(None, 1)[1]
return None