Update version and add nice alias

This commit is contained in:
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 import kotlin.random.Random
@Service @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 { override fun handle(event: CommandMessage): CommandResult {
if (Random(System.currentTimeMillis()).nextInt(100) < 90) { if (Random(System.currentTimeMillis()).nextInt(100) < 90) {
event.reply("_nice_") event.reply("_nice_")

View file

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