at jan6's request it now works without colon

This commit is contained in:
lickthecheese 2020-04-23 18:05:43 -04:00
parent 98d543be68
commit fbdd70602c
3 changed files with 6 additions and 0 deletions

View file

@ -54,6 +54,12 @@ async def genOut(self, noun):
async def filter(self, c, n, m):
if m[:5] == 'kim: ':
m = m[5:]
await go(self, c, n, m)
elif m[:4] == 'kim ':
m = m[4:]
await go(self, c, n, m)
async def go(self, c, n, m):
await rec(self, m)
words = m.split(' ')
if words[0] == 'admin':