mirror of
https://github.com/reality/dbot.git
synced 2024-12-18 00:22:35 +01:00
33 lines
523 B
Markdown
33 lines
523 B
Markdown
|
## Youtube
|
||
|
|
||
|
Searches youtube.com for videos.
|
||
|
|
||
|
### Description
|
||
|
|
||
|
This module provides a command which allows users to search for a video on youtube.com.
|
||
|
It replies with a video thats title is the most similar to the input.
|
||
|
|
||
|
### Dependencies
|
||
|
|
||
|
It has following dependencies:
|
||
|
+ [request](https://github.com/mikeal/request)
|
||
|
|
||
|
### config.json
|
||
|
|
||
|
Output prefix can be set.
|
||
|
For example:
|
||
|
```
|
||
|
{
|
||
|
"outputPrefix": "\u00031,0You\u000315,5Tube\u000f"
|
||
|
}
|
||
|
```
|
||
|
|
||
|
|
||
|
### Commands
|
||
|
|
||
|
#### ~youtube [title]
|
||
|
|
||
|
Example:
|
||
|
+ ~youtube Hello World!
|
||
|
|
||
|
### TODO
|