We want to have a nice API for bots that aren't written with discord.py (or its derivatives). There are many good Python Discord API wrappers out there such as Hikari. Thus, I think it would be nice if we make the DBLClient library-independent by making it accept a callback that returns the bot stats instead for the auto poster—we might need to make our event emitter too if we do this. Another option would be documenting HTTPClient to provide lower-level interfaces for other Discord API wrappers—or even projects in general—since DBLClient only works with discord.py currently. And for the WebhookManager, perhaps we can provide a middleware just like how other SDK does?
We want to have a nice API for bots that aren't written with discord.py (or its derivatives). There are many good Python Discord API wrappers out there such as Hikari. Thus, I think it would be nice if we make the
DBLClient
library-independent by making it accept a callback that returns the bot stats instead for the auto poster—we might need to make our event emitter too if we do this. Another option would be documentingHTTPClient
to provide lower-level interfaces for other Discord API wrappers—or even projects in general—sinceDBLClient
only works with discord.py currently. And for theWebhookManager
, perhaps we can provide a middleware just like how other SDK does?