diff --git a/v6d3music/utils/argctx.py b/v6d3music/utils/argctx.py index e00be46..2d164f4 100644 --- a/v6d3music/utils/argctx.py +++ b/v6d3music/utils/argctx.py @@ -104,6 +104,11 @@ class ArgCtx: raise Explicit( "expected url, got `+` or `-\"` or `-'`. maybe you forgot to separate control symbol from the effects?" ) + if 'youtu' in url and 'watch' in url and 'list' in url: + raise Explicit( + "bot cannot decide how to handle an URL with both `watch` and `list` in it.\n" + "instead, use either `youtube.com/watch` URL without `&list=` part or `youtube.com/playlist` URL." + ) match args: case ["-", effects, *args]: pass