Make XKCD command allowed everywhere
This commit is contained in:
parent
4a62cdfb12
commit
18c4cbf43b
|
@ -16,7 +16,8 @@ class XKXDComicCommand : Command(
|
||||||
"xkcd",
|
"xkcd",
|
||||||
helpMesage = "Shows the latest xkcd comic, or the one specified",
|
helpMesage = "Shows the latest xkcd comic, or the one specified",
|
||||||
usage = "xkcd [number]",
|
usage = "xkcd [number]",
|
||||||
group = CommandGroup.FUN
|
group = CommandGroup.FUN,
|
||||||
|
allowAnywhere = true
|
||||||
) {
|
) {
|
||||||
override fun handle(event: CommandMessage): CommandResult {
|
override fun handle(event: CommandMessage): CommandResult {
|
||||||
val template = RestTemplateBuilder().build()
|
val template = RestTemplateBuilder().build()
|
||||||
|
|
|
@ -8,4 +8,4 @@ spring.jpa.generate-ddl=true
|
||||||
spring.jpa.hibernate.ddl-auto=create-drop
|
spring.jpa.hibernate.ddl-auto=create-drop
|
||||||
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
|
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
|
||||||
|
|
||||||
ottobot.version=1.6
|
ottobot.version=1.7
|
Loading…
Reference in a new issue