The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bot::Cobalt::Plugin::Twitter - Bot::Cobalt plugin for automatic tweeting

VERSION

version 0.004

SYNOPSIS

   ## In plugins.conf
   Twitter:
      Module: Bot::Cobalt::Plugin::Twitter
      Config: plugins/twitter.conf
      Opts:
         display_tweets: 1
         retweet_tweets: 0
         tweet_links: 0
         tweet_topics: 1

   ## In plugins/twitter.conf
   ---
   consumer_key:        <twitter consumer key>
   consumer_secret:     <twitter consumer secret>
   access_token:        <twitter access token>
   access_token_secret: <twitter access token secret>

DESCRIPTION

A Bot::Cobalt plugin.

This plugin will display the contents of a tweet that is linked in a channel. Additionally, it does a handful of twitter-related functions.

display_tweets (default: on)

Whenever a twitter status link is said in chat, look it up and display it.

Whenever a link is tweeted, tweet it (with title).

retweet_tweets (default: off)

Whenever a tweet is linked, retweet it.

tweet_topics (default: on)

Whenever a topic changes, tweet it.

!tweet

Finally a command, !tweet that will tweet the message you provide it.

AUTHOR

Scott Miller <scott.j.miller@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Scott Miller.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.