Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds the command
!match swap. This command will look through all of the matches that currently going on and looks for the match that the current user is in. If it does not find a game where the user is playing then it will just give a error response. If you are in a game it will look for if the server has been setup yet. If the server has not been setup yet it will give the error message again. If the server is setup it will use the url to create the swap commands.I also make this a new command prefix because if I understand how the groups work, you have to give permission for people to use all of the commands under that group. This makes it so that you can give users permission to use the
matchcommands without being able to kick users. I also think this makes the command easy to remember and natural to write.