The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

version 0.002

SYNOPSIS

## In plugins.conf
Twitter:
   Module: Bot::Cobalt::Plugin::Twitter
   Config: plugins/twitter.conf
   Opts:
      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.

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.