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

Allow the use of non-standard Discord Text Channels #5992

Open
Tails32 opened this issue Dec 13, 2024 · 1 comment
Open

Allow the use of non-standard Discord Text Channels #5992

Tails32 opened this issue Dec 13, 2024 · 1 comment
Labels
type: enhancement Features and feature requests.

Comments

@Tails32
Copy link

Tails32 commented Dec 13, 2024

Feature description

As reported in #5923 it is currently not possible to use Discord threads (or forum posts) for chat bridging, logging and command functionality. My investigation shows this might be due to the explicit use of TextChannel instead of GuildMessageChannel. If I provide a channel ID for the Discord plugin to use, I would expect for the plugin to work no matter which type of text channel it is, as they all provide the same capabilities as far as I am aware.

How the feature is useful

Discord servers and their structure can vary greatly due to various reasons. Changing the plugin to accept threads and forum posts as text channels for command use, chat bridging and logging would allow more flexibility. It would also cause less confusion during setup for users unfamiliar with the difference between a regular text channel and a thread or post since this is not pointed out clearly in the error messages.

@Tails32 Tails32 added the type: enhancement Features and feature requests. label Dec 13, 2024
@Tails32
Copy link
Author

Tails32 commented Dec 13, 2024

As mentioned above, I have already looked into this, but I am not a Java developer nor do I currently have the necessary environment set up to work on this. I've consulted the javadoc of dv8tion's JDA and found GuildMessageChannel with the following description:

Represents all message channels present in guilds.
This includes channels that are not included in StandardGuildMessageChannel, such as ThreadChannel.

I had hoped this might be useful to implement this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Features and feature requests.
Projects
None yet
Development

No branches or pull requests

1 participant