MovingBlocks

Make GooeyJr greet new users with a dismissable message

When a new user joins #terasology on Freenode IRC (probably test elsewhere initially) have GooeyJr send that user a private message not a public one with a configurable message, that may vary by user.

For regular users GooeyJr should tell them that the channel is logged (standard practice for IRC channels, especially on Freenode) and eventually include a link to the logs (that'll be a separate task). The bot should give the user an option to reply back with some key word that'll make the bot remember not to tell that user again on future sightings. The message should also include a link or two to help docs and a note on IRC culture ("Please wait around at least a few minutes, not every online user is actively watching chat every second")

Specifically for Guest#### users the message should not be dismissable and thus not include that part (anonymous users coming in via webchat get a random number after "Guest" so those nicks may see reuse)

Probably existing scripts similar to this functionality exist. Try to find some related scripts first and modify if needed. Don't re-invent the wheel! :-)

NOTE: For testing purposes and while GooeyJr is in experimental mode (until after GCI) you do NOT want to actually enable the PM for every single user. Make a limited list, hard coded if needed, of users that the bot will attempt to PM, or make some other trigger to enable/disable the mode. We don't want to be spamming every user in the channel while still working on the bot :-)

Task tags

  • hubot
  • irc
  • coffeescript
  • notification

Students who completed this task

Isaac

Task type

  • code Code
  • web Design
close

2016