Skip to content

Remove bridge related code from the main codebase #2732

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

Open
Paillat-dev opened this issue Mar 5, 2025 · 0 comments
Open

Remove bridge related code from the main codebase #2732

Paillat-dev opened this issue Mar 5, 2025 · 0 comments
Labels
feature request New feature request

Comments

@Paillat-dev
Copy link
Contributor

Summary

Remove all code related to bridge from the main codebase to only have it in ext.bridge

What is the feature request for?

The core library

The Problem

Currently, you will find here and there in the codebase checks for compatibility with bridge-related things, or in general references to bridge feature, which always makes things over-complicated and unintuitive. Moreover, as an extension, bridge should not interfere with the main library, even if it is a "core extension".

The Ideal Solution

Refactor bridge for all of its code to be confined to ext.bridge. This will probably mean creating some kind of bridge.Cog, that subclasses Cog, and its respective metaclass to handle bridge commands registration.

The Current Solution

n/a

Additional Context

No response

@Paillat-dev Paillat-dev added the feature request New feature request label Mar 5, 2025
@Paillat-dev Paillat-dev changed the title Remove bridge related code from the main codebase feat: Remove bridge related code from the main codebase Mar 5, 2025
@Paillat-dev Paillat-dev changed the title feat: Remove bridge related code from the main codebase feature: Remove bridge related code from the main codebase Mar 5, 2025
@Paillat-dev Paillat-dev changed the title feature: Remove bridge related code from the main codebase Remove bridge related code from the main codebase Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

1 participant