changed stuff for whitelistkick
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user