%full => %scan, %comp => %compo

This commit is contained in:
klemek
2021-01-11 17:41:20 +01:00
parent 8b6d5e5361
commit c6572a7dde
3 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -38,9 +38,9 @@ bot.register_command(
EmotesScanner.help(),
)
bot.register_command(
"comp(osition)?",
"compo(sition)?",
lambda *args: CompositionScanner().compute(*args),
"comp: composition analysis",
"compo: composition analysis",
CompositionScanner.help(),
)
bot.register_command(
@@ -50,9 +50,9 @@ bot.register_command(
FrequencyScanner.help(),
)
bot.register_command(
"full",
"(full|scan)",
lambda *args: FullScanner().compute(*args),
"full: full analysis",
"scan: full analysis",
FullScanner.help(),
)
+2 -2
View File
@@ -17,10 +17,10 @@ class CompositionScanner(Scanner):
def help() -> str:
return (
"```\n"
+ "%comp : Show composition statistics\n"
+ "%compo : Show composition statistics\n"
+ "arguments:\n"
+ COMMON_HELP_ARGS
+ "Example: %comp #mychannel1 @user\n"
+ "Example: %compo #mychannel1 @user\n"
+ "```"
)
+2 -2
View File
@@ -17,10 +17,10 @@ class FullScanner(Scanner):
def help() -> str:
return (
"```\n"
+ "%full : Show full statistics\n"
+ "%scan : Show full statistics\n"
+ "arguments:\n"
+ COMMON_HELP_ARGS
+ "Example: %full #mychannel1 @user\n"
+ "Example: %scan #mychannel1 @user\n"
+ "```"
)