Code Monkey home page Code Monkey logo

imscp-bot's Introduction

i-mscp-bot - A bot for IRC that answer to some queries

I. Introduction
~~~~~~~~~~~~~~~

The i-mscp-bot is able to join one or more IRC channels and listen to them. Then, the
connected users can query the bot about any ticket or changeset from Trac.

For now, the bot is able to answer two queries:

1. Tickets:

If you type '#60' on IRC where 60 is the ticket number, then the bot will answer by
providing some information about the ticket such as the summary, the owner, reporter

Also, if you type '#last' , the bot will answer by providing same information but for
the last ticket.

2. Changeset:

If you type 'r4600' on IRC where 4600 is a specific revision, the bot will answer by
providing the link to the changeset. Also if you type 'rlast' the link to the last
changeset will be returned by the bot.

II. Requirements
~~~~~~~~~~~~~~~~

- PHP >= 5.2
- PHP Curl extension

III. Installation instructions (Debian >= Squeeze)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

As root user:

1. Getting latest version:

 # cd /usr/local/src
 # svn export https://i-mscp.svn.sourceforge.net/svnroot/i-mscp/branches/i-mscp-bot

2. Installing libraries:

 # mkdir -p /usr/local/lib/iMSCP
 # cp -R ./i-mscp-bot/library /usr/local/lib/iMSCP

3. Installing the bot:

 # cp ./i-mscp-bot/i-mscp-bot /usr/local/bin
 # chmod a+x /usr/local/bin/i-mscp-bot

4. Make the bot a daemon:

 # mkdir -p /usr/local/etc/init.d
 # cp ./i-mscp-bot/init.d/i-mscp-bot /usr/local/etc/init.d
 # chmod a+x /usr/local/etc/init.d/i-mscp-bot
 # ln -s /usr/local/etc/init.d/i-mscp-bot /etc/init.d/i-mscp-bot
 # insserv /etc/init.d/i-mscp-bot

5. Starting the bot
 # /etc/init.d/i-mscp-bot start

IV.  Uninstall intructions (Debian >= Squeeze)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

As root user:

 # /etc/init.d/i-mscp-bot stop
 # rm -Rf /usr/local/lib/iMSCP
 # rm /usr/local/bin/i-mscp-bot
 # insserv -r /etc/init.d/i-mscp-bot
 # rm {/etc/init.d/i-mscp-bot,/usr/local/etc/init.d/i-mscp-bot}

For further help, you can join us on our forum at http://forum.i-mscp.net

imscp-bot's People

Contributors

kassah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

dineshkummarc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.