3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 20:22:39 +01:00
dbot/modules/link
Douglas Gardner 1e70646ae5 update documentation
Added README to the dice module.
Updated the README in the link module to reflect changes in fba8edef18
2013-01-22 21:07:04 +00:00
..
config.json Add dependency info [#187] 2013-01-21 20:50:23 +00:00
link.js ~ud was surprisingly easy [#192] 2013-01-22 19:52:26 +00:00
README.md update documentation 2013-01-22 21:07:04 +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. #### ~ud [headword] Returns the first Urban Dictionary definition for the headword provided.