v5.0.0
$setCollectionKey
This functions allows you to create a new collection key (Property) for a previous created collection.
This function has 4 fields.
  1. 1.
    Collection Name (Required)
  2. 2.
    Key name ( Required)
  3. 3.
    Key value (Required)
  4. 4.
    deleteAfter (Optional)
Raw usage: $setCollectionKey[collection name;key;value;deleteAfter (optional)]
Example:
1
bot.command({
2
name: "set-key",
3
code: `
4
$setCollectionKey[chiwi;hairColor;pink]
5
`
6
});
7
​
8
/*
9
Using a collection created at:
10
https://aoi.leref.ga/functions/usdcreatecollection
11
*/
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub