diff --git a/modules/youtube.py b/modules/youtube.py index 34e585df..1746c7e1 100644 --- a/modules/youtube.py +++ b/modules/youtube.py @@ -124,6 +124,7 @@ class Module(ModuleManager.BaseModule): search = event["args"] else: url = event["target"].buffer.find(REGEX_YOUTUBE) + url = url.message if url else None if not url: safe_setting = event["target"].get_setting("youtube-safesearch", True)