Suggestion for the issue of the bot having no MESSAGE_WRITE perms
Judging from the source code (in the picture), you were wondering what the bot could do when it doesn't have permission to send a message in the guild.
My idea would be that you get the user which sent the command (through member.getUser()). You could also get the user that owns the guild (through guild.getOwner().getUser()).
When you have the chosen user, you can send them a private message to alert them using User.openPrivateChannel().queue(Consumer). Add a Consumer which sends a message in the channel (https://github.com/DV8FromTheWorld/JDA/wiki/7)-Using-RestAction#example-sending-a-private-message) for an example in Java.
I really like the idea for the bot, and I especially appreciate the fact that you check for unneeded permissions and warn people for the security risk it causes!
Sincerely, Maxime van der Smissen