Update version and add nice alias

merge-requests/1/head
Julius de Jeu 2019-06-10 22:17:35 +02:00
parent 06d0c787c4
commit b916a18eca
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import org.springframework.stereotype.Service
import kotlin.random.Random
@Service
class Nice : Command("nice", group = CommandGroup.FUN, helpMesage = "_nice_") {
class Nice : Command("nice", group = CommandGroup.FUN, helpMesage = "_nice_", aliases = listOf("69")) {
override fun handle(event: CommandMessage): CommandResult {
if (Random(System.currentTimeMillis()).nextInt(100) < 90) {
event.reply("_nice_")

View File

@ -8,4 +8,4 @@ spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
ottobot.version=1.0
ottobot.version=1.1