Updated mcitems.py command names
This commit is contained in:
parent
54cf797b1e
commit
4826df54f9
1 changed files with 6 additions and 6 deletions
|
@ -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 = []
|
||||||
|
|
Reference in a new issue