def module_version(msg_body, sender_nick, config) if msg_body =~ /^!version/ answer = "#{config['bot'][0]['NAME'][0]} #{config['bot'][0]['VERSION'][0]} -> #{config['bot'][0]['DISTRIB'][0]}" return answer end end