add wood pickaxe to user inventory upon creation of user in db
@@ -13,8 +13,12 @@ class Database(commands.Cog):
if user is None:
async with self.db.acquire() as con:
- await con.execute('INSERT INTO users VALUES ($1, $2, $3, $4, $5, $6, $7)',
- uid, 0, 0, 1, 20, 0, False)
+ await con.execute(
+ 'INSERT INTO users VALUES ($1, $2, $3, $4, $5, $6, $7)',
+ uid, 0, 0, 1, 20, 0, False
+ )
+
+ await self.add_item(uid, 'Wood Pickaxe')
return await self.fetch_user(uid)
