Commit 8d698f21 authored by IS1_4M's avatar IS1_4M
Browse files

fixed more big bugs.

parent 4b4c2890
......@@ -214,7 +214,8 @@ class PubChanSuite:
return send_text
async def process_commands(message):
content = message.content.lower()
if len(content.split(' ')) < 3:
return False
if content.startswith('!addtextchannel'):
params = content[len('!addtextchannel '):].split(' ')
target = 'O-' + params[0].upper()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment