Skip to content

Commit

Permalink
use meta key
Browse files Browse the repository at this point in the history
  • Loading branch information
greeeen-dev committed Sep 24, 2024
1 parent 821dc1a commit 5ba4d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microfier.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ async def make(ctx,*,room):
return await ctx.send('Room names may only contain alphabets, numbers, dashes, and underscores.')
if room in list(db['rooms'].keys()):
return await ctx.send('This room already exists!')
db['rooms'].update({room:dict(room_template)})
db['rooms'].update({room:{'meta': dict(room_template)}})
db.save_data()
await ctx.send(f'Created room `{room}`!')

Expand Down

0 comments on commit 5ba4d5d

Please sign in to comment.