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.9.2 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.9.1 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.9.0 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.8.0 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.7.3 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.7.2 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.7.1 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.7.0 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.21 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.20 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.19 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.18 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.17 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.16 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.15 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.13 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.12 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.11 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.10 example_framework_components/example_framework_bot/example_framework_bot.rb
nutella_framework-0.6.9 example_framework_components/example_framework_bot/example_framework_bot.rb