From ab93b4cacfb71fc5de25be245ad7d8092de2131b Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 14 Apr 2014 23:23:53 -0700 Subject: Minor bug fixes and improved admin module. --- module.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module.rb') 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 -- cgit v1.2.3-70-g09d2