Skip to content

rbot's note command doesn't work. #111

@antdude

Description

@antdude

I notiecd my rbot's note command doesn't work anymore. Its debug log shows:

...
D, [2025/05/17 18:36:06 #1766227] DEBUG -- ircsocket.rb:387:in `gets': RECV: ":BetaAnt!ant@localhost PRIVMSG #bots :flexo note ant test"
D, [2025/05/17 18:36:06 #1766227] DEBUG -- irc.rb:643:in `initialize': new netmask "BetaAnt!ant@localhost" casemap=NilClass server=irc1.REMOVEDNAME.com server#casemap=Irc::AsciiCasemap
D, [2025/05/17 18:36:06 #1766227] DEBUG -- plugins.rb:1041:in `delegate': fast-delegating listen
D, [2025/05/17 18:36:06 #1766227] DEBUG -- journal.rb:348:in `publish': journal publish message in irclog: {:type=>"priv", :addressed=>true, :replied=>false, :identified=>false, :source=>"BetaAnt", :source_user=>"owner", :source_address=>"ant@localhost", :target=>"#bots", :server=>"irc1.REMOVEDNAME.com", :message=>"flexo note ant test"}
D, [2025/05/17 18:36:06 #1766227] DEBUG -- plugins.rb:1057:in `delegate': slow-delegating message
D, [2025/05/17 18:36:06 #1766227] DEBUG -- plugins.rb:1080:in `privmsg': Delegating privmsg #<Irc::PrivMessage:0x00007f55136638d8 bot=#<Irc::Bot:0x00007f55210f92b8> server=irc1.REMOVEDNAME.com time=2025-05-17 18:36:06 -0700 source=BetaAnt target=#bots message="note ant test" logmessage="flexo note ant test" plainmessage="flexo note ant test" plugin="note" params="ant test" channel=#bots (reply to #bots) (public) (addressed to me)> with pluginkey "note"
D, [2025/05/17 18:36:06 #1766227] DEBUG -- plugins.rb:1108:in `privmsg': Command note isn't handled
D, [2025/05/17 18:36:06 #1766227] DEBUG -- plugins.rb:1041:in `delegate': fast-delegating unreplied
E, [2025/05/17 18:36:06 #1766227] ERROR -- plugins.rb:1053:in `rescue in block in delegate': Plugin markov unreplied() failed:
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : #<NoMethodError: undefined method `first' for "note":String>
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/data/rbot/plugins/markov.rb:567:in `block in random_markov'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/data/rbot/plugins/markov.rb:566:in `each'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/data/rbot/plugins/markov.rb:566:in `random_markov'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/data/rbot/plugins/markov.rb:616:in `unreplied'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/lib/rbot/plugins.rb:1049:in `block in delegate'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/lib/rbot/plugins.rb:1045:in `each'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/lib/rbot/plugins.rb:1045:in `delegate'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/lib/rbot/plugins.rb:1122:in `irc_delegate'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/lib/rbot/ircbot.rb:562:in `block in initialize'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/lib/rbot/rfc2812.rb:1524:in `handle'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/lib/rbot/rfc2812.rb:1419:in `process'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/lib/rbot/ircbot.rb:942:in `mainloop'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : /home/ant/bin/rbot/bin/rbot:123:in `<top (required)>'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : ./launch_here.rb:68:in `load'
E, [2025/05/17 18:36:06 #1766227] ERROR --                                                 : ./launch_here.rb:68:in `<main>'
D, [2025/05/17 18:36:06 #1766227] DEBUG -- reaction.rb:241:in `unreplied': testing #<Irc::PrivMessage:0x00007f55136638d8 bot=#<Irc::Bot:0x00007f55210f92b8> server=irc1.REMOVEDNAME.com time=2025-05-17 18:36:06 -0700 source=BetaAnt target=#bots message="note ant test" logmessage="flexo note ant test" plainmessage="flexo note ant test" plugin="note" params="ant test" channel=#bots (reply to #bots) (public) (addressed to me)> for reactions
...

My rbot is "v. 0.9.15 (master branch, revision 6d3eb99 [fix: NameError about unknown exception], 2 files
changed) [2 months, 16 days, 3 hours, 16 minutes and 6 seconds ago] rubybot, (c) Giuseppe Bilotta and the rbot
development team - https://ruby-rbot.org".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions