# File rbot/auth.rb, line 51 def save Dir.mkdir("#{@bot.botclass}") if(!File.exist?("#{@bot.botclass}")) File.open("#{@bot.botclass}/users.rbot", "w") do |file| @users.each do |key, value| file.puts "#{value} #{key}" end end File.open("#{@bot.botclass}/levels.rbot", "w") do |file| @levels.each do |key, value| file.puts "#{value} #{key}" end end end