Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.
Njagi Mwaniki edited this page Dec 15, 2015 · 6 revisions

Usage

  • seen @seen <nick>
  • reputation
    • Check reputation @rep <nick>
    • Add reputation @addRep <nick>
    • Subtract reputation @subRep <nick>
  • last fm Setting a new username for your nick replaces the older one.
    • @np set <username> to associate a last.fm username with your nick.
    • @np <last.fm username> If you don't want to set your last fm username.
    • @np If your IRC nick is your last.fm username or if you have set your last.fm username.
  • define @define <word/phrase>
  • echo @echo <sentence you want to echo>
  • wolfram alpha @wa <search query>
  • URLs Automatically fetches page titles from URLs.
  • Help @help — there are too many commands to paste the help in a channel so we give the user a URL to the wiki: https://github.com/nairobilug/nairobi-bot/wiki#usage
Maybe later if need be
  • google/duckduckgo @search <search query>
  • wikipedia @wiki <search query>

Configuration

nairobi-bot reads configs from the config.yaml file. Currently the configs it takes are:

  • name The name of the bot.
  • channels The list of channels we want it to join.
  • wolframAlpha wolfram alpha API key.
  • lastFm last.fm API key.

If you would like to set configs in environment variables report it in the issues or better yet write the code and make a pull request.

Feature requests

Please report them as issues explaining what you would like in the best way possible.

Versioning

A later version of this bot will most often be found on my fork or in the development branch.

As a Haskell library.

I will release this on Hackage after making it more configurable for end users.

Clone this wiki locally