Merge branch 'xkcdfix' into 'master'

Make XKCD command allowed everywhere

See merge request jdejeu/ottobotv2!11
merge-requests/12/head
Julius 2019-08-28 17:52:14 +00:00
commit 704341bfe3
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,8 @@ class XKXDComicCommand : Command(
"xkcd",
helpMesage = "Shows the latest xkcd comic, or the one specified",
usage = "xkcd [number]",
group = CommandGroup.FUN
group = CommandGroup.FUN,
allowAnywhere = true
) {
override fun handle(event: CommandMessage): CommandResult {
val template = RestTemplateBuilder().build()

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.6
ottobot.version=1.7