From e593912f1734b8fd83581992393f7968efe6c435 Mon Sep 17 00:00:00 2001 From: Ulysses Zhan Date: Wed, 3 Jan 2024 21:55:30 -0800 Subject: [PATCH] fix some help --- lib/lyricat/bot.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/lyricat/bot.rb b/lib/lyricat/bot.rb index dd9747a..bc064d2 100644 --- a/lib/lyricat/bot.rb +++ b/lib/lyricat/bot.rb @@ -273,7 +273,8 @@ def gen_multilingual_dynamic_commands name, aliases: [], **opts, &block For specifying the difficulty, you can use one of the following: (1) A single integer `n`, which means the difficulty is in `[n,n+1)`; (2) A single number with decimal point `n`, which means the difficulty is exactly `n`; - (3) Two numbers `n` and `m`, which means the difficulty is in `[n,m]`. + (3) Two numbers `n` and `m`, which means the difficulty is in `[n,m]` + (or `[n,m+0.9]` if `m` does not have decimal point). Append `rand` with one of `tw`, `cn`, `jp`, `eng` (such as `randcn`) to specify the language. DESC @@ -663,8 +664,9 @@ def b15 lang, session_token For specifying the difficulty, you can use one of the following: (1) A single integer `n`, which means the difficulty is in `[n,n+1)`; (2) A single number with decimal point `n`, which means the difficulty is exactly `n`; - (3) Two numbers `n` and `m`, which means the difficulty is in `[n,m]`. - Append `listsongs` with one of `tw`, `cn`, `jp`, `eng` (such as `scorecn`) + (3) Two numbers `n` and `m`, which means the difficulty is in `[n,m]` + (or `[n,m+0.9]` if `m` does not have decimal point). + Append `listsongs` with one of `tw`, `cn`, `jp`, `eng` (such as `listsongscn`) to specify the language. DESC usage = 'listsongs[lang] [difficulty]'