mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
Module documentation for Link [#75]
This commit is contained in:
parent
26e731697d
commit
6f5105e36c
21
modules/link/README.md
Normal file
21
modules/link/README.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
## Link
|
||||||
|
|
||||||
|
Retrieves page titles.
|
||||||
|
|
||||||
|
### Description
|
||||||
|
|
||||||
|
This module stores the last posted link in each channel, and provides a command
|
||||||
|
for retrieving the title of a given link or the last posted link in the channel.
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
#### autoTitle: false
|
||||||
|
If this is set to true, the bot will automatically post the titles of links as
|
||||||
|
they are posted in the channel.
|
||||||
|
|
||||||
|
### Commands
|
||||||
|
|
||||||
|
#### ~title [link]
|
||||||
|
If called with a link, the bot will attempt to find and return the title of that
|
||||||
|
page. If called without a link, the bot will attempt the same on the last link
|
||||||
|
which was posted in the current channel.
|
Loading…
Reference in New Issue
Block a user