Module: Twittbot

Defined in:
lib/twittbot.rb,
lib/twittbot/bot.rb,
lib/twittbot/cli.rb,
lib/twittbot/botpart.rb,
lib/twittbot/defaults.rb,
lib/twittbot/template_lister.rb,
lib/twittbot/generators/twittbot/app/app_generator.rb

Overview

Twittbot default module

Defined Under Namespace

Modules: Generators Classes: Bot, BotPart, CLI, TemplateLister

Constant Summary collapse

VERSION =

The version of Twittbot.

"0.6.0"
CONSUMER_KEY =

:nodoc:

'FYRuQcDbPAXAyVjuPZMuw'
CONSUMER_SECRET =

:nodoc:

'KiLCYTftPdxNebl5DNcj7Ey2Y8YVZu7hfqiFRYkcg'
TEMPLATE_DIR =

Contains the path to the initial bot template.

File.expand_path '../generators/twittbot/app/templates', __FILE__
CONFIG_FILE_NAME =

The name of the bot’s config file.

'config.yml'
DEFAULT_BOT_CONFIG =

Hash containing the default bot configuration.

{
  consumer_key: Twittbot::CONSUMER_KEY,
  consumer_secret: Twittbot::CONSUMER_SECRET,
  access_token: '',
  access_token_secret: '',
  track: [],
  admins: [],
  dm_command_prefix: '!'
}
RECONNECT_WAIT_TIME =

How many seconds should be waited until the bot reconnects

5