fixed help

This commit is contained in:
klemek
2021-01-11 16:49:20 +01:00
parent 7281fb9a8f
commit 3c8f827246
5 changed files with 43 additions and 33 deletions
+3 -1
View File
@@ -15,12 +15,14 @@ from utils import COMMON_HELP_ARGS
class CompositionScanner(Scanner):
@staticmethod
def help() -> str:
return "```\n"
return (
"```\n"
+ "%comp : Show composition statistics\n"
+ "arguments:\n"
+ COMMON_HELP_ARGS
+ "Example: %comp #mychannel1 @user\n"
+ "```"
)
def __init__(self):
super().__init__(
+3 -1
View File
@@ -14,7 +14,8 @@ from utils import emojis, COMMON_HELP_ARGS
class EmotesScanner(Scanner):
@staticmethod
def help() -> str:
return "```\n"
return (
"```\n"
+ "%emotes : Rank emotes by their usage\n"
+ "arguments:\n"
+ COMMON_HELP_ARGS
@@ -23,6 +24,7 @@ class EmotesScanner(Scanner):
+ "* members : show top member for each emote\n"
+ "Example: %emotes 10 all #mychannel1 #mychannel2 @user\n"
+ "```"
)
def __init__(self):
super().__init__(
+3 -1
View File
@@ -14,12 +14,14 @@ from utils import COMMON_HELP_ARGS
class FrequencyScanner(Scanner):
@staticmethod
def help() -> str:
return "```\n"
return (
"```\n"
+ "%freq : Show frequency-related statistics\n"
+ "arguments:\n"
+ COMMON_HELP_ARGS
+ "Example: %freq #mychannel1 @user\n"
+ "```"
)
def __init__(self):
super().__init__(
+3 -1
View File
@@ -15,12 +15,14 @@ from utils import COMMON_HELP_ARGS
class FullScanner(Scanner):
@staticmethod
def help() -> str:
return "```\n"
return (
"```\n"
+ "%full : Show full statistics\n"
+ "arguments:\n"
+ COMMON_HELP_ARGS
+ "Example: %full #mychannel1 @user\n"
+ "```"
)
def __init__(self):
super().__init__(
+3 -1
View File
@@ -14,12 +14,14 @@ from utils import COMMON_HELP_ARGS
class PresenceScanner(Scanner):
@staticmethod
def help() -> str:
return "```\n"
return (
"```\n"
+ "%pres : Show presence statistics\n"
+ "arguments:\n"
+ COMMON_HELP_ARGS
+ "Example: %pres #mychannel1 @user\n"
+ "```"
)
def __init__(self):
super().__init__(