I wanted to ask how I can do it, for example
have a command! Test and when the is entered. The output then comes with "Enter a bus tab" and then I enter "a" so that this input is saved. (Not in the console but for example (Discord or Minecraft)).
You have to use the respective API
Let's say Discord. I just can't get it there or I don't find any helpful information when I google for this problem / question
There's a lot of information about it. Just google for "Discord Java Bot"
Here is a project that turns Discord's REST API into a Java interface: https://github.com/...eWorld/JDA
Here is a complete guide: https://medium.com/discord-bots/making-a-basic-discord-bot-with-java-834949008c2b
Thank you