at jan6's request it now works without colon
This commit is contained in:
parent
98d543be68
commit
fbdd70602c
3 changed files with 6 additions and 0 deletions
Binary file not shown.
Binary file not shown.
|
@ -54,6 +54,12 @@ async def genOut(self, noun):
|
||||||
async def filter(self, c, n, m):
|
async def filter(self, c, n, m):
|
||||||
if m[:5] == 'kim: ':
|
if m[:5] == 'kim: ':
|
||||||
m = m[5:]
|
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)
|
await rec(self, m)
|
||||||
words = m.split(' ')
|
words = m.split(' ')
|
||||||
if words[0] == 'admin':
|
if words[0] == 'admin':
|
||||||
|
|
Loading…
Reference in a new issue