Sha256: d6c01711cacb60c5e8d3c57c952234a843c4a76207b3e45082968d8865473499
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
require_relative '../rest/rest' require_relative '../streaming/streaming' require_relative '../bot' module Elephrame module Bots # a bot that posts things on an interval # but can also respond to interactions class PeriodInteract < BaseBot include Elephrame::Scheduler include Elephrame::AllInteractions def initialize intv super() setup_scheduler intv setup_streaming end def run run_scheduled &Proc.new run_interact end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
elephrame-0.2.0 | lib/elephrame/mix/bots.rb |