Merge branch 'atq' into 'master'

Add xy and spillkerrie, fix atq to be ask instead of answer

See merge request jdejeu/ottobotv2!16
feat/what
Julius 2019-11-15 23:08:44 +00:00
commit 1b3be33c85
3 changed files with 40 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import org.springframework.stereotype.Service
@Service
class ATQCommand :
Command("answerthequestion", "Don't ask to ask, just ask!", "atq", allowAnywhere = true, aliases = listOf("atq")) {
Command("askthequestion", "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

@ -0,0 +1,19 @@
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 SplillKerrieCommand : Command(
"spillkerrie",
helpMesage = "`oepsie woepsie, it seems you have spilled the kerrie, we deden een fucky wucky`",
allowAnywhere = true,
aliases = listOf("stk", "spillthekerrie")
) {
override fun handle(event: CommandMessage): CommandResult {
event.reply("_oh no_")
return CommandResult.SUCCESS
}
}

View File

@ -0,0 +1,20 @@
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 XYProblemCommand : Command(
"xyproblem",
"Asking about your attempted solution rather than your actual problem",
"xy",
allowAnywhere = true,
aliases = listOf("xy")
) {
override fun handle(event: CommandMessage): CommandResult {
event.reply("http://xyproblem.info")
return CommandResult.SUCCESS
}
}