I'm currently working on a project to create a bot that can extract information from an info.json file and display it in the form of a rich embed within a Discord Channel.
One challenge I've encountered is that my JSON file contains multiple arrays that require access through the "prefix + player name" command.
Here's an example array from the JSON file:
{
"playername": "riky",
"age": 20,
"height": 172
}
So, when someone searches for a player like riky
using the prefix + riky
command, the bot should display all the associated information such as age
, height
, etc.
If anyone has any insights or solutions for this issue, your help would be greatly appreciated!