is there any documentation of the JDA lib?
There are so many functions, but dont know how to use them.
For example how can i response to a message or how can i send pictures etc.
If the bot gets a private message then the Channel in MessageReceived is of Type private.
You just can respond in this channel.
B4X:
Sub JDA_onMessageReceived(event As Object)
MyLog($"JDA_onMessageReceived(${event})"$)
Dim ev As MessageReceivedEvent = event
Dim msg As Message = ev.Message
Dim ch As MessageChannel = msg.Channel
work with ch to respond in the same channel
end sub
If the bot reads the message in public then you can for ex answer in the channel you get a message in.