Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Communications > Chat

    toastbot 0.4.1

    Download button

    No screenshots available
    Downloads: 84  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Daniel Lindsley | More programs
    BSD License / FREE
    February 28th, 2012, 21:34 GMT
    ROOT / Communications / Chat

     Read user reviews (0)  Refer to a friend  Subscribe

    toastbot description

    A clean, extensible IRC bot using irckit

    toastbot is a clean, extensible IRC bot using Python, irckit, gevent & requests.

    Usage

    Create your own ``bot.py`` file & drop in:

        import toastbot

        bot = toastbot.ToastBot('myircbot', '#myircchannel')
        bot.setup()


    Then run it with ``python bot.py``.

    Configuration

    The ``Toastbot`` object requires ``nick`` & ``channel`` arguments & can take a
    variety of non-required options.

    Required arguments

    * ``nick`` - The nickname of the bot, as a string.
    * ``channel`` - The channel the bot should connect to, as a string.

    Options

    * ``server`` - The server the bot should connect to (default: ``irc.freenode.net``).
    * ``username`` -The username the bot should identify as (default: ``nick``);
    * ``realname`` - The human readable name the bot should provide (default: 'ToastBot').
    * ``debug`` - Controls if the IRC connection should dump debug messages (default: ``false``).
    * ``log_dir`` - Controls what directory the logs should go in (default: ``$INSTALL_DIRECTORY/logs``).
    * ``variants`` - Used to override ways to address the bot. Should be strings (default: ``[self.nick+': ', self.nick+', ', self.nick+'- ', self.nick+' - ']``).


    Product's homepage

    Requirements:

    · Python
    · gevent
    · irckit
    · requests

      


    TAGS:

    IRC bot | chat bot | IRC | chat | bot



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM