Method and Description |
---|
net.dv8tion.jda.core.managers.GuildController.createWebhook(TextChannel, String)
Use
TextChannel.createWebhook(String) instead |
net.dv8tion.jda.core.entities.Guild.getPublicChannel()
As the concept of a public channel has been removed from discord this method may return null for newer guild.
The default channel is now different for each user and depends on their permissions, see Member#getDefaultChannel() for more details.
If you want to get the default channel of old guilds you can use guild.getTextChannelById(guild.getIdLong()) .
This will be removed in a future version! |
Enum Constant and Description |
---|
net.dv8tion.jda.core.entities.Game.GameType.TWITCH
This might be removed when discord introduces more activity types. Use
Game.GameType.STREAMING instead. |