diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-04-14 23:23:53 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-04-14 23:23:53 -0700 |
commit | ab93b4cacfb71fc5de25be245ad7d8092de2131b (patch) | |
tree | 26da5502e30864a1909f77c171b7319c9a7f0abb /module.rb | |
parent | 03a29033194c7740ea4717cbfe2fbaf32325611d (diff) | |
download | dinobot-ab93b4cacfb71fc5de25be245ad7d8092de2131b.tar.gz dinobot-ab93b4cacfb71fc5de25be245ad7d8092de2131b.tar.xz |
Minor bug fixes and improved admin module.
Diffstat (limited to 'module.rb')
-rw-r--r-- | module.rb | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,7 +2,9 @@ module Dinobot class Module attr_accessor :commands - def initialize + def initialize(bot) + @bot = bot + @commands = [:commands] end |