lib/cinch/plugins/admin.rb
# Admin command that tells the bot to exit
# !exit @admin_password
Admin command that tells the bot to exit
exit @admin_password
Admin command that tells the bot to exit exit @admin_password
def command_exit(m, password)
        if password == @admin_password
          m.user.send "#{shared[:Bot_Nick]} is shutting down. Good bye :("
          Process.exit
        else
          puts "Wrong admin password (#{password}), should be #{@admin_password}"
        end
      end
def command_exit ( m , password ) if password == @admin_password m . user . send "#{shared[:Bot_Nick]} is shutting down. Good bye :(" Process . exit else puts "Wrong admin password (#{password}), should be #{@admin_password}" end end
Admin command that tells the bot to exit
exit @admin_password
Admin command that tells the bot to exit exit @admin_password
m
password