Documentation ¶
Overview ¶
Package url defines a plugin, which finds and extracts URLs from incoming chat data. It performs a HTTP lookup to the found URL and attempts to determine the page title of the link. This title is then returned to the channel from which the message came.
Index ¶
Constants ¶
View Source
const ( TextDisplay = "De link van %s toont: %s" TextYoutubeDuration = " (speelduur: %s)" )
constants for this plugin
Variables ¶
View Source
var Ignore = map[string]bool{ "Imgur: The most awesome images on the Internet": true, "Imgur: The magic of the Internet": true, "Tweakers": true, "Privacy settings": true, "Cookies op AD.nl | AD.nl": true, "Cookies op Trouw.nl": true, "Cookies op gelderlander.nl | gelderlander.nl": true, "Too Many Requests": true, "FOK.nl cookie-informatie": true, }
Ignore is a map of title strings to ignore. Only exact matches will be ignored.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.