xcx0902 commited on
Commit
864baee
·
verified ·
1 Parent(s): cbff892

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ async def on_message(message):
69
  await message.channel.send(
70
  'The following data may be cached, so it may not be accurate:'
71
  )
72
- json_data = json_data['data']['user']
73
  answer = ''
74
  answer += f'Username: {json_data["username"].upper()}\n'
75
  answer += f'ID: {json_data["_id"]}\n'
 
69
  await message.channel.send(
70
  'The following data may be cached, so it may not be accurate:'
71
  )
72
+ json_data = json_data['data']
73
  answer = ''
74
  answer += f'Username: {json_data["username"].upper()}\n'
75
  answer += f'ID: {json_data["_id"]}\n'