aboutsummaryrefslogtreecommitdiff
path: root/module.rb
diff options
context:
space:
mode:
Diffstat (limited to 'module.rb')
-rw-r--r--module.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/module.rb b/module.rb
index c031a7b..192aea4 100644
--- a/module.rb
+++ b/module.rb
@@ -2,7 +2,9 @@ module Dinobot
class Module
attr_accessor :commands
- def initialize
+ def initialize(bot)
+ @bot = bot
+
@commands = [:commands]
end