add youtu.be to youtube module
This commit is contained in:
parent
97e2cc712e
commit
044c508112
|
@ -9,6 +9,7 @@ import requests
|
||||||
from module import url_callback
|
from module import url_callback
|
||||||
|
|
||||||
@url_callback("youtube.com/")
|
@url_callback("youtube.com/")
|
||||||
|
@url_callback("youtu.be/")
|
||||||
def youtube_title(bot, url):
|
def youtube_title(bot, url):
|
||||||
"""
|
"""
|
||||||
Retrieve the title of the YouTube video and display it.
|
Retrieve the title of the YouTube video and display it.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user