This commit is contained in:
xtaodada 2022-06-04 14:18:53 +08:00
parent b8a3fc487d
commit 5827f151a3
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -9,7 +9,7 @@ from ci import app, me
async def info_command(_: Client, message: Message): async def info_command(_: Client, message: Message):
if check_bind(message.from_user.id): if check_bind(message.from_user.id):
uid = get_bind_uid(message.from_user.id) uid = get_bind_uid(message.from_user.id)
if len(message.command) == 1: if len(message.command) > 1:
if message.command[1].isnumeric(): if message.command[1].isnumeric():
uid = message.command[1] uid = message.command[1]
data = Player(uid) data = Player(uid)