Merge branch 'atq' into 'master'
Atq See merge request jdejeu/ottobotv2!15
This commit is contained in:
commit
415c7bdab8
|
@ -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
|
||||
}
|
||||
}
|
|
@ -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
|
Loading…
Reference in a new issue