changed y_pos in edit_pos to z_pos

doc_update
Joey Hines 2018-09-19 08:28:42 -05:00
parent 2656ae5940
commit 959b587e14
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
__version__ = '1.0.2'
__version__ = '1.0.3dev'

View File

@ -14,7 +14,7 @@ class Edit_Commands:
@commands.command(pass_context=True)
@commands.cooldown(5, 60, commands.BucketType.user)
async def edit_pos(self, ctx, x_pos: int, y_pos: int, *args):
async def edit_pos(self, ctx, x_pos: int, z_pos: int, *args):
"""
Edits the position of a location
@ -22,7 +22,7 @@ class Edit_Commands:
"""
loc = get_name(args)
try:
loc_str = self.bot.bot_commands.edit_pos(x_pos, y_pos, loc, discord_uuid=ctx.message.author.id)
loc_str = self.bot.bot_commands.edit_pos(x_pos, z_pos, loc, discord_uuid=ctx.message.author.id)
await ctx.send(
'{}, the following location has been updated: \n\n{}'.format(ctx.message.author.mention, loc_str))