server
server copied to clipboard
Allow priority to be passed as a string
There are two issues surrounding this: #870 and #642, but I've seen mentions of this limitation when trying to use other tools as well. I see there is debate on whether this should be done or not, but I want it for my server, so I was going to implement it anyway.
I'm newer to Go, so I apologize if this could be done simpler, but this was the best way I found.
I created an intermediate struct so I didn't have to change the type of priority on MessageExternal.