Open ArcaneDisgea opened 2 years ago
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)
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.
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: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.