Closed ThibautCuchet closed 6 years ago
either the bot is not in the guild or the channel doesn't exist
Please read the issue template.
There are only 2 possible things that can be null
: The guild or the channel. That means that either that the bot isn't in the guild/the channel doesn't exist or that one of your IDs is invalid.
I take the id in discord so I think id is right
Join the discord server for help: invite
@Almighty-Alpaca OR... the jda object
Hi, I would like to send a message in a specific channel where nobody send message I try to use jda.getGuildById(id).getTextChannelById(id).sendMessage(message).queue() but I have a NullPointerException.
Can you help me ?