factorize common help

This commit is contained in:
klemek
2021-01-11 16:47:29 +01:00
parent a1d7354280
commit 7281fb9a8f
6 changed files with 18 additions and 12 deletions
+2 -2
View File
@@ -9,6 +9,7 @@ from .scanner import Scanner
from . import EmotesScanner
from data_types import Composition, Emote, get_emote_dict
from logs import ChannelLogs, MessageLog
from utils import COMMON_HELP_ARGS
class CompositionScanner(Scanner):
@@ -17,8 +18,7 @@ class CompositionScanner(Scanner):
return "```\n"
+"%comp : Show composition statistics\n"
+"arguments:\n"
+"* @member/me : filter for one or more member\n"
+"* #channel/here : filter for one or more channel\n"
+COMMON_HELP_ARGS
+"Example: %comp #mychannel1 @user\n"
+"```"