diff --git a/Gemfile b/Gemfile index 7d20a2a0..6510d618 100644 --- a/Gemfile +++ b/Gemfile @@ -15,3 +15,6 @@ gem 'prime' gem 'pastebinrb' gem 'ascii-image' gem 'rmagick' +#gem 'mongo' #lol this one is actually really fucking important js +gem 'extralite' #sqlitle never wants to instawall + diff --git a/Gemfile.lock b/Gemfile.lock index ee82fe7e..c76c4078 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,6 +2,9 @@ GEM remote: https://rubygems.org/ specs: ansirc (1.1.0) + ascii-image (0.1.5) + rainbow (~> 3.0, >= 3.0.0) + rmagick (~> 2.16, >= 2.16.0) cinch (2.3.4) fmylife (0.6.0) forwardable (1.3.2) @@ -14,6 +17,8 @@ GEM forwardable singleton racc (1.5.2) + rainbow (3.0.0) + rmagick (2.16.0) shellwords (0.1.0) singleton (0.1.1) @@ -22,6 +27,7 @@ PLATFORMS DEPENDENCIES ansirc + ascii-image cinch fmylife nokogiri @@ -29,7 +35,8 @@ DEPENDENCIES pastebin pastebinrb prime + rmagick shellwords BUNDLED WITH - 2.2.17 + 2.2.21 diff --git a/classes/Util.rb b/classes/Util.rb index b76e978b..8dd4f142 100644 --- a/classes/Util.rb +++ b/classes/Util.rb @@ -1,3 +1,5 @@ + + require 'pathname' require 'cinch' require 'pastebinrb' @@ -210,8 +212,12 @@ module Util #utilities and such name = mong.hton(host) c.server_queue_size = 512 c.messages_per_second = 64 - c.nick = conf.find({ 'key' => 'nick', 'server' => name }).to_a[0]["val"] - c.user = "datbot" + puts "gotta find thgat nick for #{name} in da game mayne" + q = conf.find({ 'key' => 'nick', 'server' => name })#.to_a[0]["val"] + puts "here is a thing: #{q.inspect}" + exit + c.user = "botholejones" + c.nick c.realname = "O Shid It Dat Bot!" passwd = nil pass = conf.find({ 'key' => 'pass', 'server' => name })