What it says on the tin. It's very basic in concept. I wanted to make it so that you could actually split up the parameters but I figured that would get very messy and needlessly complicated as I can't think of a use case that would actually require splitting up the parameters.
For the validation I'm mainly just making sure all of the commands are actual valid commands and in all caps to keep the aliases consistent with the normal commands. We're also assuming people aren't stupid enough to use actual existing commands as aliases. We ARE however assuming people are stupid enough to create infinite recursions which would disastrous for the server, so we are checking for those.
What it says on the tin. It's very basic in concept. I wanted to make it so that you could actually split up the parameters but I figured that would get very messy and needlessly complicated as I can't think of a use case that would actually require splitting up the parameters.
For the validation I'm mainly just making sure all of the commands are actual valid commands and in all caps to keep the aliases consistent with the normal commands. We're also assuming people aren't stupid enough to use actual existing commands as aliases. We ARE however assuming people are stupid enough to create infinite recursions which would disastrous for the server, so we are checking for those.