1.1.0-alpha • Published 1 year ago
ddas v1.1.0-alpha
DDas
Metadata Implementation for Discord
- Use metadatas
require("ddas");
// Add metadata to a message
message.metadata.set("data1", "value1");
// Get metadata of a message
message.metadata.get("data1");
Metadata property is type Metadata
- Metadata property is a Map
- Please avoid the characters : and = or try to escape it. Because I'm afraid that my parsing system is really poor.
What have been done ?
- ✅ Typed : access to property .metadata for Message, GuildMember and GuildChannel
- ✅ Metadatas are cached and are still there even if the bot was turned off.
To do
- Documentation
- Better parsing system (where it creates text files for saving)
1.1.0-alpha
1 year ago
1.0.3-alpha
1 year ago
1.0.2-alpha
1 year ago
1.0.1-alpha
1 year ago
1.0.0-alpha
1 year ago