From 42b2a2cc934e39b513bcb6d44a57a2306b37eb6b Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Wed, 18 Jul 2018 21:07:19 -0500 Subject: [PATCH] Fixed addbase command, was adding shops. --- Geoffrey.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Geoffrey.py b/Geoffrey.py index d2f8e00..d7f21dd 100644 --- a/Geoffrey.py +++ b/Geoffrey.py @@ -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