Control socket: cleanup

このコミットが含まれているのは:
n9k 2022-06-14 08:45:14 +00:00
コミット 70c5836ed0
3個のファイルの変更12行の追加10行の削除

ファイルの表示

@ -8,10 +8,10 @@ async def command_chat_help(args):
response = ( response = (
'Usage: chat {show [MESSAGES] | delete SEQS}\n' 'Usage: chat {show [MESSAGES] | delete SEQS}\n'
'Commands:\n' 'Commands:\n'
' chat show [MESSAGES]......show chat messages\n' #' chat show [MESSAGES]......show chat messages\n'
' chat delete SEQS..........delete chat messages\n' ' chat delete SEQS..........delete chat messages\n'
'Definitions:\n' 'Definitions:\n'
' MESSAGES..................undefined\n' #' MESSAGES..................undefined\n'
' SEQS......................=SEQ [SEQ...]\n' ' SEQS......................=SEQ [SEQ...]\n'
' SEQ.......................a chat message\'s seq, base-10 integer\n' ' SEQ.......................a chat message\'s seq, base-10 integer\n'
) )

ファイルの表示

@ -12,13 +12,14 @@ async def command_help(args):
' title [show]...............show the stream title\n' ' title [show]...............show the stream title\n'
' title set TITLE............set the stream title\n' ' title set TITLE............set the stream title\n'
' user [show]................show a list of users\n' ' user [show]................show a list of users\n'
' user attr USER.............set an attribute of a user\n'
' user get USER ATTR.........set an attribute of a user\n'
' user set USER ATTR VALUE...set an attribute of a user\n' ' user set USER ATTR VALUE...set an attribute of a user\n'
' user show USERS............show a list of users\n' #' user kick USERS [FAREWELL].kick users\n'
' user kick USERS [FAREWELL].kick users\n' #' user eyes USER [show]......show a list of active video responses\n'
' user eyes USER [show]......show a list of active video responses\n' #' user eyes USER delete IDS..kill a set of video responses\n'
' user eyes USER blind IDS...kill a set of video responses\n' #' chat show MESSAGES.........show a list of messages\n'
' chat show MESSAGES.........show a list of messages\n' ' chat delete SEQS...........delete a set of messages\n'
' chat delete MESSAGES.......delete a set of messages\n'
) )
case [*garbage]: case [*garbage]:
raise Garbage(garbage) raise Garbage(garbage)

ファイルの表示

@ -22,9 +22,10 @@ async def command_user_help(args):
' user get USER ATTR....show an attribute of a user\n' ' user get USER ATTR....show an attribute of a user\n'
' user set USER ATTR....set an attribute of a user\n' ' user set USER ATTR....set an attribute of a user\n'
'Definitions:\n' 'Definitions:\n'
' USER..................={token TOKEN | hash HASH}\n' #' USER..................={token TOKEN | hash HASH}\n'
' USER..................=token TOKEN\n'
' TOKEN.................a token\n' ' TOKEN.................a token\n'
' HASH..................a token hash\n' #' HASH..................a token hash\n'
' ATTR..................a user attribute, re:[a-z0-9_]+\n' ' ATTR..................a user attribute, re:[a-z0-9_]+\n'
) )
case [*garbage]: case [*garbage]: