Merge branch 'xkcdfix' into 'master'
Make XKCD command allowed everywhere See merge request jdejeu/ottobotv2!11
This commit is contained in:
commit
704341bfe3
|
@ -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()
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue