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

[Feature][GoatPlace] Thread Linking Command #58

Open
ArcaneDisgea opened this issue Oct 5, 2022 · 2 comments
Open

[Feature][GoatPlace] Thread Linking Command #58

ArcaneDisgea opened this issue Oct 5, 2022 · 2 comments

Comments

@ArcaneDisgea
Copy link
Contributor

Problem

Discord has some drawbacks regarding forum channels the biggest one in my eyes at the moment is that you cannot link a forum post unless you choose to follow that post. This creates an issue when directing users out of certain channels and into the threads because now I have to follow every thread that is made to be able to link them.

Suggested Solution

A command to have the bot link the channels for you using the channel id of the forum post, <#channelidhere>. The quick and dirty way is just a massive switch statement and maybe a forum channel post config file or object in command that is just a map of valid arguments, plugin names, to their forum post channel id.

Command usage example: /forum plugin:Allagan Tools
Bot response example: Please post issues related to ${plugin} inside the plugins forum, ${forumPostLink}.
Config object example:

{
    "Allagan Tools": "1019719848424656958",
    "Dis' Cool Plugin": "1234567890987654321",
}

Alternative Solutions

I just cry a lot while having to go to the forum channel then searching for the post amongst the 30 of them so I can right click it and copy ID and paste it into the chat myself.

or I can just follow every forum channel but I choose my sanity.

@reiichi001
Copy link
Owner

I don't think we'd need a mapping at all. Why not just pull the channel list and filter out only forum type channels? (And enforce that plugin forum channel names should contain the plugin name unless it's on a per-dev basis)

@ArcaneDisgea
Copy link
Contributor Author

I haven't looked at what bots can touch of forum channels at all so I just assumed the worst. If that's something that is doable that is a much better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants