Confusing help files for playing a local track #4777

Closed
opened 2021-01-31 13:29:34 +01:00 by bugtrapper · 4 comments
bugtrapper commented 2021-01-31 13:29:34 +01:00 (Migrated from github.com)

Other bugs

What were you trying to do?

I wanted to find out the command to play a local track.

What were you expecting to happen?

I expected to [p]help, [p]help local, [p]help play or [p]help local play to inform me about the correct command.

What actually happened?

[p]help local and [p]help local play make it look like [p]local play /track.mp3 would be the correct command. [p]help play doesn't include the information that this works for local files as well. It only mentions URLs, which are I understood to be links to the Internet, not inside Red's local folder (after all, a full file URL doesn't work, either).

How can we reproduce this issue?

Use the commands
[p]help
[p]help local
[p]help local play
[p]help play
and read the help given.

# Other bugs #### What were you trying to do? I wanted to find out the command to play a local track. #### What were you expecting to happen? I expected to [p]help, [p]help local, [p]help play or [p]help local play to inform me about the correct command. #### What actually happened? [p]help local and [p]help local play make it look like [p]local play <parent folder>/track.mp3 would be the correct command. [p]help play doesn't include the information that this works for local files as well. It only mentions URLs, which are I understood to be links to the Internet, not inside Red's local folder (after all, a full file URL doesn't work, either). #### How can we reproduce this issue? Use the commands [p]help [p]help local [p]help local play [p]help play and read the help given.
Drapersniper commented 2021-01-31 14:42:44 +01:00 (Migrated from github.com)

Sorry but I'm not entirely sure I follow, you said help local and help local play tells you how to play and help play doesn't tell you how to play... this appears to be the intended behaviour or am I missing something here ?

Sorry but I'm not entirely sure I follow, you said help local and help local play tells you how to play and help play doesn't tell you how to play... this appears to be the intended behaviour or am I missing something here ?
bugtrapper commented 2021-01-31 17:07:15 +01:00 (Migrated from github.com)

Sorry for the confusing bug report.
The correct command to directly play a local file is [p]play <parentfolder>/file.mp3.

[p]help local and [p]help local play suggest the command would be [p]local play <parentfolder>/file.mp3. This does not work. It is the wrong command. The help entries are confusing.

[p]help play suggests that it's only supposed for online files, not local files. It does not convey that it is the correct command to play local files, although that is the case. The help file is unclear / incomplete.

Consequently, I would like to suggest updating these entries accordingly.

Sorry for the confusing bug report. The **correct** command to directly play a local file is `[p]play <parentfolder>/file.mp3`. `[p]help local` and `[p]help local play` suggest the command would be `[p]local play <parentfolder>/file.mp3`. This does not work. It is the wrong command. The help entries are confusing. `[p]help play` suggests that it's only supposed for online files, not local files. It does not convey that it is the correct command to play local files, _although that is the case_. The help file is unclear / incomplete. Consequently, I would like to suggest updating these entries accordingly.
davidhu99 commented 2021-04-20 22:24:31 +02:00 (Migrated from github.com)

Hi! Can I be assigned this?

Hi! Can I be assigned this?
aikaterna commented 2021-04-20 22:59:18 +02:00 (Migrated from github.com)

This is already being worked on in https://github.com/Cog-Creators/Red-DiscordBot/pull/4832 as was linked above your comment.

This is already being worked on in https://github.com/Cog-Creators/Red-DiscordBot/pull/4832 as was linked above your comment.
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#4777
No description provided.