UbuntuBots

Differences between revisions 22 and 23
Revision 22 as of 2008-08-02 22:03:41
Size: 7833
Editor: 246
Comment:
Revision 23 as of 2008-08-06 16:29:07
Size: 7843
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Contents'''[[BR]][[TableOfContents]]|| ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Contents'''<<BR>><<TableOfContents>>||
Line 13: Line 13:
["ScribesTeam/MootBot"] - Meeting helper bot operated by the ScribesTeam that runs in {{{#ubuntu-meeting}}}, designed for the chairperson of a meeting to use. [[ScribesTeam/MootBot]] - Meeting helper bot operated by the ScribesTeam that runs in {{{#ubuntu-meeting}}}, designed for the chairperson of a meeting to use.
Line 16: Line 16:
Based on the ubotu source and factoid database. Run by [https://launchpad.net/~jussi01 jussi01]. Please send all queries about to the #ubuntu-irc channel on Freenode. Based on the ubotu source and factoid database. Run by [[https://launchpad.net/~jussi01|jussi01]]. Please send all queries about to the #ubuntu-irc channel on Freenode.
Line 24: Line 24:
ubotu was operated by Dennis 'Seveas' Kaarsemaker until 2008-04-28. It was the only interactive bot allowed on the Ubuntu channels. It was running supybot 0.83.1 on Ubuntu 6.06 LTS. The source code and bugtracker can be found on [http://launchpad.net/products/ubuntu-bots/ Launchpad]. ubotu was operated by Dennis 'Seveas' Kaarsemaker until 2008-04-28. It was the only interactive bot allowed on the Ubuntu channels. It was running supybot 0.83.1 on Ubuntu 6.06 LTS. The source code and bugtracker can be found on [[http://launchpad.net/products/ubuntu-bots/|Launchpad]].
Line 162: Line 162:
 * [http://jussi01.com/web/factoids.cgi?db=ubuntu&search=&order=popularity%20DESC&page=0 Most popular first]
 * [http://jussi01.com/web/factoids.cgi?db=ubuntu&search=&order=added%20DESC&page=0 By date]
 * [http://jussi01.com/web/factoids.cgi?db=ubuntu&search=&order=name%20ASC&page=0 Alphabetical]
 * [[http://jussi01.com/web/factoids.cgi?db=ubuntu&search=&order=popularity%20DESC&page=0|Most popular first]]
 * [[http://jussi01.com/web/factoids.cgi?db=ubuntu&search=&order=added%20DESC&page=0|By date]]
 * [[http://jussi01.com/web/factoids.cgi?db=ubuntu&search=&order=name%20ASC&page=0|Alphabetical]]

Ubuntu bots

In the Ubuntu channels, there are several bots looming around for different purposes. If you run an Ubuntu channel and want one of them to join, please contact its maintainer. The bots are:

Ubuntulog

Log bot operated by the Canonical system admins (rt@ubuntu.com). Its logs may be found at http://irclogs.ubuntu.com/ .

LoCoBot

LoCoBot - Log bot for LoCoTeam channels, operated by the ubuntu-eu admin team (admin@ubuntu-eu.org). Its logs can be found at http://logs.ubuntu-eu.org/freenode/ .

MootBot

ScribesTeam/MootBot - Meeting helper bot operated by the ScribesTeam that runs in #ubuntu-meeting, designed for the chairperson of a meeting to use.

ubottu

Based on the ubotu source and factoid database. Run by jussi01. Please send all queries about to the #ubuntu-irc channel on Freenode.

ubot3`

Appears to use ubotu source and database. Claims to be ubotu.

ubotu

  • Encyclopedia/Package search/RSS/Bugtracker/Bantracker/Meeting agenda/Fun bot; usage instructions below

ubotu was operated by Dennis 'Seveas' Kaarsemaker until 2008-04-28. It was the only interactive bot allowed on the Ubuntu channels. It was running supybot 0.83.1 on Ubuntu 6.06 LTS. The source code and bugtracker can be found on Launchpad.

uvirtbot

Does BugTracker work on channels like #ubuntu-virt. Based on ubotu. Run by Soren Hansen.

Using Ubotu

Ubotu is a (somewhat) intelligent IRC bot. The idea behind ubotu is that it remembers answers to commonly asked questions and that users of #ubuntu/#kubuntu can easily recall them when needed.

Using ubotu is simple. To ask ubotu to recall an answer, simply type in #ubuntu/#kubuntu:

!<factoid>

Replace <factoid> with the actual factoid you want to recall. If ubotu doesn't currently have the factoid, it will reply by telling you it doesn't know it.

Another way to use ubotu is to ask ubotu to tell someone else about a factoid. You can accomplish this by typing:

!tell <nick> about <factoid>
!<factoid> > <nick>

Just replace <nick> with the nickname of the person you wish to tell about <factoid>. Replace <factoid> with the factoid you wish to use. Replace nick with me to make it send the factoid to yourself in a private message

To make ubotu reply in the channel, but prefix something to the factoid, replace > with |

!<factoid> | <nick>
ubotu: <factoid> | <nick>

You can also suggest new factoids to ubotu:

!<factoid> is <fact>

or, if an incorrect factoid has been added, make ubotu replace it with new information:

!no, <factoid> is <fact>

Replace <factoid> with the name of the new factoid and <fact> with the information for that factoid. One thing to keep in mind when creating new factoids is that they should point to official Ubuntu documentation where possible.

Due to the high volume of abuse/bogus factoids people have added to the bot, adding factoids is currently limited to registered people who have been granted access. Attempts to edit the bot by unauthorized users will be forwarded to #ubuntu-ops for review so they can be submitted to the ops for review and added if appropriate.

Advanced Factoid Manipulation

<reply>

Ubotus default response to !foo is "foo is bar". To suppress the "foo is", start the factoid with <reply>. Example:

<Seveas> !foo is <reply> bar
<Seveas> !foo
<ubotu> bar

also

{{{!foo is foo !foo is also bar}}}

This will make ubotu say:

{{{<ubotu> foo is foo <ubotu> bar}}}

This is mainy used for factoids that are partially LTR and partially RTL text.

<alias>

Several facts have multiple factoids pointing to them via aliases. To add an alias, you use the <alias> keyword in your fact. Example:

<Seveas> !foo is bar
<Seveas> !bar is <alias> foo
<Seveas> !bar
<ubotu> foo is bar

To display alias information, use !-<factoid>. This will either display which factoid <factoid> is an alias of, or it will list all aliases of <factoid>, whichever is appropriate.

<sed>

Ubotu can edit its factoids using sed-like expressions. If you made a typo and do not want to erase and replace the entire factoid, you can edit factoids contents:

!<factoid> =~ /<regex>/<replacement>/
!<factoid> is <sed> /<regex>/<replacement>/

The <sed>/=~ construct understands regular expressions (PCRE) for advanced editing.

Looking for Factoids

If you are looking for a specific factoid but cannot remember which one, you can search the factoid database by factoid name or fact:

!search <string>

You can use * as wildcard.

Looking for packages

You can also find out information about a package in the Ubuntu repositories:

!info <packagename>
!info <packagename> <ubuntu version>

Ubotu will tell the channel about <packagename>. If there exists no factoid with the same nameas the package, you can omit 'info' from your message.

If you want to find a package of which you only know part of the name:

!find <string>
!find <string> <ubuntu version>

Private messages

Ubotu will also respond in private messages. You don't need to use the '!' in commands sent in private messages. He will also answer when addressed by his nickname in the channel, like this:

ubotu, tell Seveas about java
ubotu: please tell nalioth about mp3
ubotu, ati > me

Web interface

You can browse the factoids online at http://jussi01.com/web/factoids.cgi

RSS announcements

In #ubuntu-offtopic and #ubuntu-fridge, ubotu will announce new posts on The Fridge, and Planet Ubuntu in -offtopic.

Bugtracker connection

Using a very complicated regex, Ubotu looks for people who mention bug numbers/urls. It understands bugs from launchpad, bugzilla, trac, debbugs, sourceforge and issuezilla. Lots of bugtrackers are known, so it can reply to both urls and text like 'bug 123' or 'kde bug 1337'. It will reply with a short summary of the bug and its status. If you know of a bugtracker that should be added to its brain, you can poke Ubotus administrator.

Ban tracking

In several channels, Ubotu logs all kicks, removals, bans, and mutes with a log snippet preceding the action. These logs can be browsed and searched at http://jussi01.com/web/bans.cgi.

Meeting schedule

The meetings in #ubuntu-meeting are scheduled via The Fridge. Ubotu manages the topic in #ubuntu-meeting and keeps a list of upcoming meetings in there. To retrieve the current schedule in your local time, you can use the command

@schedule timezone

Replace timezone with your timezone. A list of valid timezones can be found on http://jussi01.com/web/timezones.html

Another useful command is

@now timezone

Which will display the current time and next meeting in the given timezone.

Other functions

In #ubuntu-offtopic, the following functions are enabled:

Lart plugin

  • @lart <nick> [for <reason>]

Miscellaneous

To resume long messages:

  • @more [nick]

UbuntuBots (last edited 2012-01-20 19:53:31 by alanbell1)