Tweaked some strings in plugins/mcitems.py
This commit is contained in:
parent
440d2448e5
commit
50ddc62386
1 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ with open("plugins/data/itemids.txt") as f:
|
||||||
@hook.command("id")
|
@hook.command("id")
|
||||||
@hook.command
|
@hook.command
|
||||||
def itemid(input, reply=None):
|
def itemid(input, reply=None):
|
||||||
".itemid <item/id> -- gets the id from an item or vice versa"
|
".itemid/.id <item/id> -- gets the id from an item or vice versa"
|
||||||
input = input.lower().strip()
|
input = input.lower().strip()
|
||||||
|
|
||||||
if input == "":
|
if input == "":
|
||||||
|
@ -72,7 +72,7 @@ def itemid(input, reply=None):
|
||||||
return
|
return
|
||||||
|
|
||||||
if len(results) > 12:
|
if len(results) > 12:
|
||||||
reply("There are too many options, please narrow your search."
|
reply("There are too many options, please narrow your search. " \
|
||||||
"(%s)" % len(results))
|
"(%s)" % len(results))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ def recipe(input, reply=None):
|
||||||
return
|
return
|
||||||
|
|
||||||
if len(results) > 3:
|
if len(results) > 3:
|
||||||
reply("There are too many options, please narrow your search."
|
reply("There are too many options, please narrow your search. " \
|
||||||
"(%s)" % len(results))
|
"(%s)" % len(results))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Reference in a new issue