/** * The {@link net.dv8tion.jda.core.entities.Guild Guild} this Manager's * {@link net.dv8tion.jda.core.entities.Webhook Webhook} is in. * <br>This is logically the same as calling {@code getWebhook().getGuild()} * * @return The parent {@link net.dv8tion.jda.core.entities.Guild Guild} */ public Guild getGuild() { return getWebhook().getGuild(); }
/** * The {@link net.dv8tion.jda.core.entities.TextChannel TextChannel} this Manager's * {@link net.dv8tion.jda.core.entities.Webhook Webhook} is in. * <br>This is logically the same as calling {@code getWebhook().getChannel()} * * @return The parent {@link net.dv8tion.jda.core.entities.TextChannel TextChannel} */ public TextChannel getChannel() { return getWebhook().getChannel(); }