Does what it says but is poorly coded. You are using "If else if else if" spam for checking the commands. It can be optimized by using a switch statement instead.
You are also putting everything into 1 class and that class is poorly named (Main is not a good name for a class). It's better to do it between multiple classes for better organization
You are also spamming send message for console rather than sending it in 1 message and doing a new line.