lol sqlite, fuck mongo
This commit is contained in:
parent
6382a4bea9
commit
bfab09ef2d
3
Gemfile
3
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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 })
|
||||
|
Loading…
Reference in New Issue
Block a user