diff --git a/modules/__pycache__/admin.cpython-36.pyc b/modules/__pycache__/admin.cpython-36.pyc index a5f0a58..95e828b 100644 Binary files a/modules/__pycache__/admin.cpython-36.pyc and b/modules/__pycache__/admin.cpython-36.pyc differ diff --git a/modules/__pycache__/bake.cpython-36.pyc b/modules/__pycache__/bake.cpython-36.pyc index 3d7836b..7b9e9a0 100644 Binary files a/modules/__pycache__/bake.cpython-36.pyc and b/modules/__pycache__/bake.cpython-36.pyc differ diff --git a/modules/admin.py b/modules/admin.py index 0a1ec92..d93773f 100644 --- a/modules/admin.py +++ b/modules/admin.py @@ -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 = { diff --git a/modules/bake.py b/modules/bake.py index 615066b..dd72619 100644 --- a/modules/bake.py +++ b/modules/bake.py @@ -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())