Add wiki link

This commit is contained in:
Anthony Cicchetti 2022-07-17 11:29:55 -04:00
parent 6611d600bd
commit 0ce4762f75

View file

@ -15,6 +15,8 @@ data class BlockResponse(val status: Int = 200, val itemName: String, val highVa
divider() divider()
section { markdownText(":chart_with_upwards_trend:: $highVal") } section { markdownText(":chart_with_upwards_trend:: $highVal") }
section { markdownText(":chart_with_downwards_trend:: $lowVal") } section { markdownText(":chart_with_downwards_trend:: $lowVal") }
divider()
section { markdownText("<https://oldschool.runescape.wiki/?search=${itemName.replace(' ', '+')}&title=Special%3ASearch&go=Go|Wiki Search>")}
} }
} }
response = mapper.writeValueAsString(resp) response = mapper.writeValueAsString(resp)