diff --git a/src/main/kotlin/nl/voidcorp/discord/commands/general/ATQCommand.kt b/src/main/kotlin/nl/voidcorp/discord/commands/general/ATQCommand.kt new file mode 100644 index 0000000..6439258 --- /dev/null +++ b/src/main/kotlin/nl/voidcorp/discord/commands/general/ATQCommand.kt @@ -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 + } +} \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index a738684..913f657 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -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 \ No newline at end of file +ottobot.version=1.9 \ No newline at end of file