azlux/botamusique

Invalid command suggested with !ytsearch

luca0N opened this issue · 1 comments

luca0N commented

Describe the bug
In the cli.yt_result l10n JSON file, the user is encouraged to use the command !ytquery -n to fetch the next page of results, but this command fails as it doesn't exist. The actual command that should be suggested to the user is !ytsearch -n.

Affected version

To Reproduce
Steps to reproduce the behavior:

  1. Perform a query with '!ytsearch'
  2. Get the incorrect command suggestion

Expected behavior
The l10n message should tell the user to use !ytsearch -n instead of !ytquery -n.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Linux
  • Browser: N/A
  • Version: N/A

Smartphone (please complete the following information):
N/A

Additional context
N/A

luca0N commented

Looking at the lang directory, multiple l10n files are also using the same erroneous command. These should be replaced as detailed above.