mirror of
https://github.com/thewesker/ebooks_example.git
synced 2025-12-21 21:01:07 -05:00
add time_difference gem
first use of INITIAL_CORPUS_FILE env var more concise bot#blacklisted?
This commit is contained in:
2
bots.rb
2
bots.rb
@@ -1,6 +1,7 @@
|
||||
require 'twitter_ebooks'
|
||||
require_relative 'boodoo'
|
||||
require 'dotenv'
|
||||
require 'time_difference'
|
||||
|
||||
include Ebooks::Boodoo
|
||||
|
||||
@@ -62,6 +63,7 @@ class BoodooBot
|
||||
@attempts = 0
|
||||
@followers = []
|
||||
@following = []
|
||||
@initial_corpus_file = SETTINGS['INITIAL_CORPUS_FILE']
|
||||
@archive_path = "corpus/#{@original}.json"
|
||||
@model_path = "model/#{@original}.model"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user