Merge branch 'atq' into 'master'

Atq

See merge request jdejeu/ottobotv2!15
This commit is contained in:
Julius 2019-09-14 17:32:07 +00:00
commit 415c7bdab8
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,15 @@
package nl.voidcorp.discord.commands.general
import nl.voidcorp.discord.command.Command
import nl.voidcorp.discord.command.CommandMessage
import nl.voidcorp.discord.command.CommandResult
import org.springframework.stereotype.Service
@Service
class ATQCommand :
Command("answerthequestion", "Don't ask to ask, just ask!", "atq", allowAnywhere = true, aliases = listOf("atq")) {
override fun handle(event: CommandMessage): CommandResult {
event.reply("Don't ask to ask, just ask - https://i.imgur.com/93qXFd0.png")
return CommandResult.SUCCESS
}
}

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.8
ottobot.version=1.9