changed stuff for whitelistkick
This commit is contained in:
parent
6100adaf93
commit
1a70fd4fd4
|
|
@ -45,7 +45,7 @@ dependencies {
|
|||
// MySQL
|
||||
runtimeOnly("mysql:mysql-connector-java:8.0.23")
|
||||
// ShutdownInfo
|
||||
compileOnly("org.example:ShutdownInfo:1.0-SNAPSHOT")
|
||||
compileOnly("com.alttd:ShutdownInfo:1.0")
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ public class WhitelistKick {
|
|||
DiscordLink.getPlugin().getCache()
|
||||
.cacheCode(player.getUniqueId(), authCode);
|
||||
|
||||
event.appendTemplates(Template.of("code", authCode));
|
||||
event.appendTemplate(Template.of("code", authCode));
|
||||
event.appendMessage("\n\n" + Config.WHITELIST_LINK_MESSAGE);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user