3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-26 04:32:37 +01:00
dbot/modules/link
Luke Slater bbe6a540be Update modules/link/link.js
no title found shut up omg
2013-01-05 17:00:45 +01:00
..
config.json Help links added to config [#89] 2012-12-30 20:30:49 +00:00
link.js Update modules/link/link.js 2013-01-05 17:00:45 +01:00
README.md Module documentation for Link [#75] 2012-12-30 18:12:23 +00:00
strings.json Forgot to add the strings.json for link! 2012-12-30 17:31:06 +00:00

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

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.