Metadata-Version: 2.4
Name: iddb-system
Version: 0.1.0
Summary: Internal Discord Data-Base System - High-performance event logging for Discord bots.
Author-email: Elijah <your@email.com>
Project-URL: Homepage, https://www.google.com/search?q=https://iddb.oria.click/
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Communications :: Chat
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: discord.py>=2.0.0
Dynamic: license-file

IDDB - Internal Discord Data-Base SystemIDDB is a next-generation event logging and tracking engine designed for high-performance Discord bots. It treats a Discord channel as a persistent, structured, machine-readable database.FeaturesStructured JSON Logs: No more messy text files. Logs are objects.240-Char Action IDs: Every event has a unique anchor.Smart Queueing: Prevents bot lag by handling logs in the background.Rate-Limit Aware: Automatically paces writes to avoid Discord API blocks.Auto-Partitioning: Splits large logs (>2000 chars) into multiple messages automatically.Quick Startfrom iddb.core import IDDBClient

# Inside your bot's setup
iddb = IDDBClient(bot, channel_id=1465966978618495028)
await iddb.start()

# To log an event
await iddb.log(
    guild_id=123456789,
    action_type="MEMBER_BAN",
    metadata={"reason": "Spamming", "moderator": "Admin#0001"}
)
ArchitectureIDDB uses an Asynchronous Queue-Worker pattern. Events are instantly accepted into memory and then drained by a background task that respects a 2.5s cooldown (adjustable).
