[BUG Report] CoinQuery Plugin Broken
Created by: tayjaybabee
Describe the bug The following commands fail to elicit a response from the bot:
- !coin-transaction/!coin-tx
- !coin-address/!coin-addr
- !coin-convert
To Reproduce Steps to reproduce the behavior:
- Issue the above commands
Expected behavior A response with the relevant information
I am getting the following exception:
[2018/12/26 02:18:31.188] !! /home/user/Eve-Bot/lib/plugins/coin_query/addr_info.rb:179:in
round': no implicit conversion from nil to integer (TypeError) [2018/12/26 02:18:31.188] !! /home/user/Eve-Bot/lib/plugins/coin_query/addr_info.rb:179:in
addressInfo' [2018/12/26 02:18:31.188] !! lib/plugins/coin_query.rb:61:inaddress' [2018/12/26 02:18:31.188] !! /home/user/.rvm/gems/ruby-2.3.0/gems/cinch-2.3.3/lib/cinch/plugin.rb:418:in
call' [2018/12/26 02:18:31.188] !! /home/user/.rvm/gems/ruby-2.3.0/gems/cinch-2.3.3/lib/cinch/plugin.rb:418:inblock (2 levels) in __register_matchers' [2018/12/26 02:18:31.188] !! /home/user/.rvm/gems/ruby-2.3.0/gems/cinch-2.3.3/lib/cinch/handler.rb:99:in
block in call' [2018/12/26 02:18:31.188] !! [Thread done] For #<Cinch::Handler @event=:message pattern=#<Cinch::Pattern:0x00000003afda40 @prefix=/^!/, @pattern=/coin-addr (.+?) (.+)/i, @suffix=nil>>: #Thread:0x007fb901e3eec0 -- 0 remaining.