add youtu.be to youtube module

This commit is contained in:
iou1name 2020-07-07 07:13:11 -04:00
parent 97e2cc712e
commit 044c508112

View File

@ -9,6 +9,7 @@ import requests
from module import url_callback
@url_callback("youtube.com/")
@url_callback("youtu.be/")
def youtube_title(bot, url):
"""
Retrieve the title of the YouTube video and display it.