1.1.0-alpha • Published 1 year ago

ddas v1.1.0-alpha

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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)