aboutsummaryrefslogtreecommitdiff
path: root/module.rb
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-04-14 23:23:53 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-04-14 23:23:53 -0700
commitab93b4cacfb71fc5de25be245ad7d8092de2131b (patch)
tree26da5502e30864a1909f77c171b7319c9a7f0abb /module.rb
parent03a29033194c7740ea4717cbfe2fbaf32325611d (diff)
downloaddinobot-ab93b4cacfb71fc5de25be245ad7d8092de2131b.tar.gz
dinobot-ab93b4cacfb71fc5de25be245ad7d8092de2131b.tar.xz
Minor bug fixes and improved admin module.
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