Fixed addbase command, was adding shops.

doc_update
Joey Hines 2018-07-18 21:07:19 -05:00
parent 6622b98830
commit 42b2a2cc93
1 changed files with 1 additions and 3 deletions

View File

@ -107,10 +107,8 @@ async def addbase(ctx, name: str, x_pos: int, y_pos: int, z_pos: int, * args):
if '-d' in flags:
dimension = flags['-d']
await bot.say('Test ' + tunnel)
try:
shop = database_interface.add_shop(ctx.message.author.id, name, x_pos, y_pos, z_pos, tunnel, dimension)
base = database_interface.add_base(ctx.message.author.id, name, x_pos, y_pos, z_pos, tunnel, dimension)
except LocationInitError:
raise commands.UserInputError