Sha256: a4f718e75085b1dbbb45ddba9d68dd141ddf63947de1aff3c3c980bf9b21e9b0
Contents?: true
Size: 744 Bytes
Versions: 57
Compression:
Stored size: 744 Bytes
Contents
require_relative '../../lib/config/runlist' require_relative '../../lib/config/config' require_relative '../../nutella_lib/framework_core' # Framework bots can access all the parameters they need directly # from the configuration file and the runlist, # to which they have full access to. # Access the config file like so: # Nutella.config['broker'] # Access the runs list like so: # Nutella.runlist.all_runs # Initialize this bot as framework component nutella.f.init(Nutella.config['broker'], 'example_framework_bot') # Your code goes here! Go crazy! # Does your bot die? If all your bot is doing is waiting for message on the network # and responding to them, the main thread will terminate unless you call... # nutella.f.net.listen
Version data entries
57 entries across 57 versions & 1 rubygems