diff --git a/delojza.py b/delojza.py index d782886..4f4d0b8 100755 --- a/delojza.py +++ b/delojza.py @@ -613,7 +613,7 @@ class DelojzaBot: files, hashtags, tumblr_ids = self.last_downloaded[update.message.chat.id] mp3s = [filename for filename in files if filename.endswith("mp3")] if len(mp3s) > 0: - arg_raw = re.sub(r'^/[\w]+ ', '', update.message.text).strip() + arg_raw = re.sub(r'^/[@\w]+ ?', '', update.message.text).strip() artist, title = None, None reverse = len(arg_raw) == 0