Skip to content

Cannot have empty whitelist AND blacklist #228

Description

@rafaeldamasceno

📝 Description

If you try to have empty whitelist AND blacklist at the same time to allow all sources, the bot fills the whitelist with youtube.com, effectively only allowing YouTube as a source.

🪜 Reproduction Steps

  1. Run /managesources and leave both lists empty.
  2. Run /play with a non YouTube source
  3. The "source not allowed" message is printed

ℹ Environment / Computer Info

  • Parrot version: 1.5.0
  • Operating System: Official Docker image

📸 Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    💬 discussionFurther information is requested🔧 improvementGeneral improvements to existing features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions