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

Version Path
nutella_framework-0.4.23 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.22 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.21 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.20 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.19 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.18 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.17 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.16 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.13 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.12 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.11 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.10 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.9 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.8 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.5 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.4 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.4.3 example_framework_components/example_framework_bot/example_framework_bot.rb