McObot only reports parts on the staff channel, not joins

Issue #176 resolved
Riot created an issue

Resulting in some silly looking spam.

Whoever added the dodgy part notification should also fix the join notification.

Comments (5)

  1. Riot reporter
    • changed status to open

    Crashes on minecraftonlinestaff join now.

    Traceback (most recent call last):
      File "./mcobot08.py", line 934, in <module>
        irc.run()
      File "/home/minecraft/ircbase.py", line 70, in run
        self.decide(event)
      File "/home/minecraft/ircbase.py", line 112, in decide
        self.on_join(sender, chan)
      File "./mcobot08.py", line 488, in on_join
        message = '% joined the staff channel.' % nick
    ValueError: unsupported format character 'j' (0x6a) at index 2
    

    Also apparently attempts to report itself joining the channel.

  2. Log in to comment