Updated mcitems.py command names

This commit is contained in:
neersighted 2012-05-15 20:08:26 -07:00
parent 54cf797b1e
commit 4826df54f9

View file

@ -48,10 +48,10 @@ with open("plugins/data/itemids.txt") as f:
ids.append((id, name)) ids.append((id, name))
@hook.command("id") @hook.command("mcid")
@hook.command @hook.command
def itemid(input, reply=None): def mcitem(input, reply=None):
"itemid <item/id> -- gets the id from an item or vice versa" "mcitem <item/id> -- gets the id from an item or vice versa"
input = input.lower().strip() input = input.lower().strip()
if input == "": if input == "":
@ -81,10 +81,10 @@ def itemid(input, reply=None):
return out return out
@hook.command("craft") @hook.command("mccraft")
@hook.command @hook.command
def recipe(input, reply=None): def mcrecipe(input, reply=None):
"recipe <item> -- gets the crafting recipe for an item" "mcrecipe <item> -- gets the crafting recipe for an item"
input = input.lower().strip() input = input.lower().strip()
results = [] results = []