aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/example.rb b/example.rb
index fe2b0ef..b52d4ab 100644
--- a/example.rb
+++ b/example.rb
@@ -5,7 +5,16 @@ require_relative 'dinobot'
bot = Dinobot::Bot.new('irc.example.org', 6667, 'dinobot') do
join '#dinobot'
+ load_module :admin
+ load_module :config
+ load_module :lastfm
load_module :test
+
+ @modules[:admin].add('dinobot.example.org')
+ @modules[:lastfm].setapikey('keyhere')
+
+ add_alias 'np', 'lastfm np'
+ add_alias 'song', 'lastfm song'
end
loop do