You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
375 B
11 lines
375 B
package WowneroChanBot;
|
|
|
|
import net.dv8tion.jda.api.events.guild.GuildJoinEvent;
|
|
import net.dv8tion.jda.api.hooks.ListenerAdapter;
|
|
|
|
public class ServerJoinResponse extends ListenerAdapter {
|
|
public void onGuildJoin(GuildJoinEvent guildJoinEvent) {
|
|
guildJoinEvent.getGuild().getDefaultChannel().sendMessageEmbeds(new Responses().serverJoinReply()).queue();
|
|
}
|
|
}
|