more items

This commit is contained in:
lickthecheese 2020-04-07 15:33:32 -04:00
parent 34b4943437
commit 418e74df19
4 changed files with 10 additions and 3 deletions

View file

@ -36,7 +36,7 @@ async def joins(self, chan, source, msg):
async def ev(self, chan, source, msg):
msg = msg.split(' ')
exec(' '.join(msg))
self.more[chan] = exec(' '.join(msg))
await self.message(chan, 'ok')
commands = {

View file

@ -73,7 +73,7 @@ async def bake(self, c, n, m):
async def invsee(self, c, n, m):
if len(m) < 1:
m = n
m = n.strip()
inv = self.db['inv']
it = [ i['item'] for i in inv.find(name=m) ]
if len(it) < 1:
@ -123,7 +123,14 @@ async def init(self):
'phallic': 65,
'pizza': 34,
'hairball': 6,
'cookie': 44
'cookie': 44,
'pancake': 12,
'rice': 29,
'mess': 14,
'sandwich':55,
'wafer': 56,
'pi': 31,
'fbi': 80
}
self.bakedPrice = dict((v,k) for k,v in self.bakedGoods.items())