changed y_pos in edit_pos to z_pos
parent
2656ae5940
commit
959b587e14
|
@ -1 +1 @@
|
||||||
__version__ = '1.0.2'
|
__version__ = '1.0.3dev'
|
||||||
|
|
|
@ -14,7 +14,7 @@ class Edit_Commands:
|
||||||
|
|
||||||
@commands.command(pass_context=True)
|
@commands.command(pass_context=True)
|
||||||
@commands.cooldown(5, 60, commands.BucketType.user)
|
@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
|
Edits the position of a location
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ class Edit_Commands:
|
||||||
"""
|
"""
|
||||||
loc = get_name(args)
|
loc = get_name(args)
|
||||||
try:
|
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(
|
await ctx.send(
|
||||||
'{}, the following location has been updated: \n\n{}'.format(ctx.message.author.mention, loc_str))
|
'{}, the following location has been updated: \n\n{}'.format(ctx.message.author.mention, loc_str))
|
||||||
|
|
Loading…
Reference in New Issue