Sha256: be30c5aecbae5f7687563dac13cb888eae21e41ebdd4a6ad89687ef44ff0083d

Contents?: true

Size: 699 Bytes

Versions: 9

Compression:

Stored size: 699 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'chatterbot/dsl'

#
# this is the script for the twitter bot %{name}
# generated on %{timestamp}
#

consumer_key '%{consumer_key}'
consumer_secret '%{consumer_secret}'

secret '%{secret}'
token '%{token}'

# remove this to send out tweets
debug_mode

# remove this to update the db
no_update
# remove this to get less output when running
verbose

# here's a list of users to ignore
blacklist "abc", "def"

# here's a list of things to exclude from searches
exclude "hi", "spammer", "junk"

search "keyword" do |tweet|
 reply "Hey #USER# nice to meet you!", tweet
end

replies do |tweet|
  reply "Yes #USER#, you are very kind to say that!", tweet
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
chatterbot-1.0.2 templates/skeleton.txt
chatterbot-1.0.1 templates/skeleton.txt
chatterbot-1.0.0 templates/skeleton.txt
chatterbot-0.9.3 templates/skeleton.txt
chatterbot-0.9.2 templates/skeleton.txt
chatterbot-0.9.1 templates/skeleton.txt
chatterbot-0.9.0 templates/skeleton.txt
chatterbot-0.7.1 templates/skeleton.txt
chatterbot-0.7.0 templates/skeleton.txt