dbot/modules-stock/link/README.md
Georg 70a21d2b18
Signed-off-by: Georg <georg@lysergic.dev>
Init

- Initial fixes in modules
- Bundled adapted jsbot
- Elaborative README.md
2021-08-24 21:16:26 +02:00

967 B
Raw Permalink Blame History

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. #### ~xkcd Returns a link to the xkcd comic specified, or the latest one if a comic is not given. Use * to return a link to a random comic.

Requirements