Specify channel for broadcast types #45
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
User Story
As a user,
I would like to have a discord command to specify which channel a specific broadcast type should be sent to,
So that I can have some broadcasts go to one channel, and others go to another.
Example
A user would like to be able to specify a different channel for pk broadcasts to go to.
Implementation
We need to add a new JSON column(sub doc) to the
guilds
model, such asdisallowed_broadcast_types
. If it finds in this array an object with the broadcast type and channel ID to send that type to, send the broadcast there; if not, then use the default one found inbroadcast_channel
of the same model.example of possible data in the new column(sub doc)
The text was updated successfully, but these errors were encountered: