updated usages
This commit is contained in:
parent
9703d6307f
commit
ca399c05b7
2
main.go
2
main.go
@ -13,7 +13,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const url = "http://api.urbandictionary.com/v0/define?term="
|
const url = "http://api.urbandictionary.com/v0/define?term="
|
||||||
const usage = "ud: search for term on urban dictionary\n\nusage: ud <term>\n"
|
const usage = "ud: confirm that the term you're thinking of has already been added to urban dictionary\n\nusage: ud <term>\n"
|
||||||
|
|
||||||
type response struct {
|
type response struct {
|
||||||
Results []result `json:"list"`
|
Results []result `json:"list"`
|
||||||
|
Loading…
Reference in New Issue
Block a user