Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POSSIBLY BREAKING: better interfaces for non-d.py bots #60

Closed
norinorin opened this issue Oct 6, 2021 · 1 comment · Fixed by #62
Closed

POSSIBLY BREAKING: better interfaces for non-d.py bots #60

norinorin opened this issue Oct 6, 2021 · 1 comment · Fixed by #62
Labels
enhancement New feature or request help wanted Extra attention is needed todo

Comments

@norinorin
Copy link
Contributor

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?

@Esmeray6 Esmeray6 added enhancement New feature or request help wanted Extra attention is needed todo labels Oct 6, 2021
@martinbndr
Copy link

Yes would be nice. Also would be great to remove the discord.py requirement as some already use other discord py forks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed todo
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants