Apertium

Create a module for begiak which handles long messages

Begiak (our IRC bot) may display messages that are too long and need to be broken up into multiple lines. (An example is .queue display which prints out 3 lines.) Having Begiak print out multiple lines at once may clog up a channel. Create a module for Begiak that is able to handle long messages, by creating an interface that other modules can send messages to, storing these messages in a buffer for each user, and has a command .more that allows users to request for begiak to print the next line in the buffer. The command is partially implemented in modules/fs_quotes.py in pull request #137 but the implementation only applies to the fs_quotes module and is not ideal. For this task, you should fork the bot on github and send a pull request when you're done.

For further information and guidance on this task, you are encouraged to come to our IRC channel.

Task tags

  • python
  • git
  • bot
  • irc
  • begiak

Students who completed this task

mandarj

Task type

  • code Code
close

2015