Merge branch 'atq' into 'master'
Add xy and spillkerrie, fix atq to be ask instead of answer See merge request jdejeu/ottobotv2!16
This commit is contained in:
commit
1b3be33c85
|
@ -7,7 +7,7 @@ import org.springframework.stereotype.Service
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
class ATQCommand :
|
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 {
|
override fun handle(event: CommandMessage): CommandResult {
|
||||||
event.reply("Don't ask to ask, just ask - https://i.imgur.com/93qXFd0.png")
|
event.reply("Don't ask to ask, just ask - https://i.imgur.com/93qXFd0.png")
|
||||||
return CommandResult.SUCCESS
|
return CommandResult.SUCCESS
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue