v5.0.0
$findCollectionKey
This function will allow you to find certain key (Property) inside a previous created collection.

Fields

This function has 2 required fields
  1. 1.
    Collection Name (Required)
  2. 2.
    Key Value (Required)
  3. 3.
    Accurate (Optional)
Raw usage: $findCollectionKey[Collection name;key value;accurate (yes/no) (Optional)]

Options

  1. 1.
    Collection Name - The collection we're finding the key in
  2. 2.
    Key Value - The value of the key we're finding
  3. 3.
    Accurate - Whether or not the result will be dead accurate

Usage

Without optional field
1
bot.command({
2
name: "find",
3
code: `
4
$findCollectionKey[DBDjs;Kubaturi]
5
`
6
});
Copied!
With optional fields
1
bot.command({
2
name: "find",
3
code: `
4
$findCollectionKey[DBDjs;Kubaturi;yes]
5
`
6
});
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub