Skip to content

Instantly share code, notes, and snippets.

def adminmsg(text)
$adminbot.irc.send("PRIVMSG #demon-admin :#{text}")
end
bot@lambo:~/devil$ [2015/08/28 17:45:28.092] !! [IRCBlaze] /home/bot/devil/lib/requests.rb:434:in `adminmsg': undefined method `irc' for nil:NilClass (NoMethodError)
[2015/08/28 17:45:28.093] !! [IRCBlaze] /home/bot/devil/lib/requests.rb:356:in `fverify'
[2015/08/28 17:45:28.093] !! [IRCBlaze] /var/lib/gems/2.1.0/gems/cinch-2.2.6/lib/cinch/plugin.rb:419:in `call'
[2015/08/28 17:45:28.093] !! [IRCBlaze] /var/lib/gems/2.1.0/gems/cinch-2.2.6/lib/cinch/plugin.rb:419:in `block (2 levels) in __register_matchers'
[2015/08/28 17:33:28.843] !! [IRCBlaze] /var/lib/gems/2.1.0/gems/cinch-2.2.6/lib/cinch/handler.rb:99:in `call'
[2015/08/28 17:33:28.843] !! [IRCBlaze] /var/lib/gems/2.1.0/gems/cinch-2.2.6/lib/cinch/handler.rb:99:in `block in call'
[2015/08/19 07:24:40.415] !! [ircblaze] /home/bot/bncim-bot-master/lib/requests.rb:315:in `block (3 levels) in find_server_by_ip': undefined method `downcase' for nil:NilClass (NoMethodError)
[2015/08/19 07:24:40.415] !! [ircblaze] /home/bot/bncim-bot-master/lib/requests.rb:314:in `each'
[2015/08/19 07:24:40.416] !! [ircblaze] /home/bot/bncim-bot-master/lib/requests.rb:314:in `block (2 levels) in find_server_by_ip'
[2015/08/19 07:24:40.416] !! [ircblaze] /home/bot/bncim-bot-master/lib/requests.rb:313:in `each_value'
[2015/08/19 07:24:40.416] !! [ircblaze] /home/bot/bncim-bot-master/lib/requests.rb:313:in `block in find_server_by_ip'
[2015/08/19 07:24:40.417] !! [ircblaze] /home/bot/bncim-bot-master/lib/requests.rb:312:in `each'
[2015/08/19 07:24:40.417] !! [ircblaze] /home/bot/bncim-bot-master/lib/requests.rb:312:in `find_server_by_ip'
[2015/08/19 07:24:40.417] !! [ircblaze] /home/bot/bncim-bot-master/lib/requests.rb:274:in `approve'
[2015/08/19 07:24:40
ail.rb:17:in `send'
[2015/08/18 20:02:17.917] !! [ircblaze] /home/bot/bncim-bot-master/lib/mail.rb:49:in `send_verify'
[2015/08/18 20:02:17.917] !! [ircblaze] /home/bot/bncim-bot-master/lib/requests.rb:191:in `request'
[2015/08/18 20:02:17.918] !! [ircblaze] /var/lib/gems/1.9.1/gems/cinch-2.2.6/lib/cinch/plugin.rb:419:in `call'
[2015/08/18 20:02:17.918] !! [ircblaze] /var/lib/gems/1.9.1/gems/cinch-2.2.6/lib/cinch/plugin.rb:419:in `block (2 levels) in __register_matchers'
[2015/08/18 20:02:17.918] !! [ircblaze] /var/lib/gems/1.9.1/gems/cinch-2.2.6/lib/cinch/handler.rb:99:in `call'
[2015/08/18 20:02:17.918] !! [ircblaze] /var/lib/gems/1.9.1/gems/cinch-2.2.6/lib/cinch/handler.rb:99:in `block in call'
root@sharkbnc:/home/bot/bncim-bot-master# ruby domainatrix
ruby: No such file or directory -- domainatrix (LoadError)
root@sharkbnc:/home/bot/bncim-bot-master# gem install gemname
ERROR: Could not find a valid gem 'gemname' (>= 0) in any repository
ERROR: Possible alternatives: gemgate, gemjam, gemmate, gemme, gempage
root@sharkbnc:/home/bot/bncim-bot-master# gem install domainatrix
Fetching: addressable-2.3.8.gem (100%)
Fetching: domainatrix-0.0.11.gem (100%)
Successfully installed addressable-2.3.8
Successfully installed domainatrix-0.0.11
root@lelz:/home/bot/bncim-bot-master# apt-get install domainatrix
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package domainatrix
bot@lelz:~/bncim-bot-master$ ./bncim-bot.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- domainatrix (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/bot/bncim-bot-master/lib/requests.rb:12:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from ./bncim-bot.rb:16:in `<main>'