This function will allow you to find certain key (Property) inside a previous created collection.
This function has 2 required fields
- Collection Name (Required)
- Key Value (Required)
- Accurate (Optional)
Raw usage: $findCollectionKey[Collection name;key value;accurate (yes/no) (Optional)]
- Collection Name - The collection we're finding the key in
- Key Value - The value of the key we're finding
- Accurate - Whether or not the result will be dead accurate
Without optional field
bot.command({
name: "find",
code: `
$findCollectionKey[DBDjs;Kubaturi]
`
});
With optional fields
bot.command({
name: "find",
code: `
$findCollectionKey[DBDjs;Kubaturi;yes]
`
});