How can i sperate this message/output? I tried doing some research but I still couldn't fix it. This is my code:
@client.command()
async def userjoindate(ctx, username):
user = await roblox.get_user_by_username(username)
response = requests.get(f'https://users.roblox.com/v1/users/{user.id}')
json_data = json.loads(response.text)
message = json_data['created']
await ctx.send(message)
The message/output is usually like this: 2012-06-28T17:54:30.74Z I just want it to be 2012-06-28 without the other part.