more items
This commit is contained in:
parent
34b4943437
commit
418e74df19
4 changed files with 10 additions and 3 deletions
Binary file not shown.
Binary file not shown.
|
@ -36,7 +36,7 @@ async def joins(self, chan, source, msg):
|
||||||
|
|
||||||
async def ev(self, chan, source, msg):
|
async def ev(self, chan, source, msg):
|
||||||
msg = msg.split(' ')
|
msg = msg.split(' ')
|
||||||
exec(' '.join(msg))
|
self.more[chan] = exec(' '.join(msg))
|
||||||
await self.message(chan, 'ok')
|
await self.message(chan, 'ok')
|
||||||
|
|
||||||
commands = {
|
commands = {
|
||||||
|
|
|
@ -73,7 +73,7 @@ async def bake(self, c, n, m):
|
||||||
|
|
||||||
async def invsee(self, c, n, m):
|
async def invsee(self, c, n, m):
|
||||||
if len(m) < 1:
|
if len(m) < 1:
|
||||||
m = n
|
m = n.strip()
|
||||||
inv = self.db['inv']
|
inv = self.db['inv']
|
||||||
it = [ i['item'] for i in inv.find(name=m) ]
|
it = [ i['item'] for i in inv.find(name=m) ]
|
||||||
if len(it) < 1:
|
if len(it) < 1:
|
||||||
|
@ -123,7 +123,14 @@ async def init(self):
|
||||||
'phallic': 65,
|
'phallic': 65,
|
||||||
'pizza': 34,
|
'pizza': 34,
|
||||||
'hairball': 6,
|
'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())
|
self.bakedPrice = dict((v,k) for k,v in self.bakedGoods.items())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue