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