fixed help
This commit is contained in:
@@ -15,12 +15,14 @@ from utils import COMMON_HELP_ARGS
|
||||
class CompositionScanner(Scanner):
|
||||
@staticmethod
|
||||
def help() -> str:
|
||||
return "```\n"
|
||||
+"%comp : Show composition statistics\n"
|
||||
+"arguments:\n"
|
||||
+COMMON_HELP_ARGS
|
||||
+"Example: %comp #mychannel1 @user\n"
|
||||
+"```"
|
||||
return (
|
||||
"```\n"
|
||||
+ "%comp : Show composition statistics\n"
|
||||
+ "arguments:\n"
|
||||
+ COMMON_HELP_ARGS
|
||||
+ "Example: %comp #mychannel1 @user\n"
|
||||
+ "```"
|
||||
)
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
|
||||
@@ -14,15 +14,17 @@ from utils import emojis, COMMON_HELP_ARGS
|
||||
class EmotesScanner(Scanner):
|
||||
@staticmethod
|
||||
def help() -> str:
|
||||
return "```\n"
|
||||
+"%emotes : Rank emotes by their usage\n"
|
||||
+"arguments:\n"
|
||||
+COMMON_HELP_ARGS
|
||||
+"* <n> : top <n> emojis, default is 20\n"
|
||||
+"* all : list all common emojis in addition to this guild's\n"
|
||||
+"* members : show top member for each emote\n"
|
||||
+"Example: %emotes 10 all #mychannel1 #mychannel2 @user\n"
|
||||
+"```"
|
||||
return (
|
||||
"```\n"
|
||||
+ "%emotes : Rank emotes by their usage\n"
|
||||
+ "arguments:\n"
|
||||
+ COMMON_HELP_ARGS
|
||||
+ "* <n> : top <n> emojis, default is 20\n"
|
||||
+ "* all : list all common emojis in addition to this guild's\n"
|
||||
+ "* members : show top member for each emote\n"
|
||||
+ "Example: %emotes 10 all #mychannel1 #mychannel2 @user\n"
|
||||
+ "```"
|
||||
)
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
|
||||
@@ -14,12 +14,14 @@ from utils import COMMON_HELP_ARGS
|
||||
class FrequencyScanner(Scanner):
|
||||
@staticmethod
|
||||
def help() -> str:
|
||||
return "```\n"
|
||||
+"%freq : Show frequency-related statistics\n"
|
||||
+"arguments:\n"
|
||||
+COMMON_HELP_ARGS
|
||||
+"Example: %freq #mychannel1 @user\n"
|
||||
+"```"
|
||||
return (
|
||||
"```\n"
|
||||
+ "%freq : Show frequency-related statistics\n"
|
||||
+ "arguments:\n"
|
||||
+ COMMON_HELP_ARGS
|
||||
+ "Example: %freq #mychannel1 @user\n"
|
||||
+ "```"
|
||||
)
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
|
||||
@@ -15,12 +15,14 @@ from utils import COMMON_HELP_ARGS
|
||||
class FullScanner(Scanner):
|
||||
@staticmethod
|
||||
def help() -> str:
|
||||
return "```\n"
|
||||
+"%full : Show full statistics\n"
|
||||
+"arguments:\n"
|
||||
+COMMON_HELP_ARGS
|
||||
+"Example: %full #mychannel1 @user\n"
|
||||
+"```"
|
||||
return (
|
||||
"```\n"
|
||||
+ "%full : Show full statistics\n"
|
||||
+ "arguments:\n"
|
||||
+ COMMON_HELP_ARGS
|
||||
+ "Example: %full #mychannel1 @user\n"
|
||||
+ "```"
|
||||
)
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
|
||||
@@ -14,12 +14,14 @@ from utils import COMMON_HELP_ARGS
|
||||
class PresenceScanner(Scanner):
|
||||
@staticmethod
|
||||
def help() -> str:
|
||||
return "```\n"
|
||||
+"%pres : Show presence statistics\n"
|
||||
+"arguments:\n"
|
||||
+COMMON_HELP_ARGS
|
||||
+"Example: %pres #mychannel1 @user\n"
|
||||
+"```"
|
||||
return (
|
||||
"```\n"
|
||||
+ "%pres : Show presence statistics\n"
|
||||
+ "arguments:\n"
|
||||
+ COMMON_HELP_ARGS
|
||||
+ "Example: %pres #mychannel1 @user\n"
|
||||
+ "```"
|
||||
)
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
|
||||
Reference in New Issue
Block a user