An open API service indexing awesome lists of open source software.

https://github.com/nbaztec/qirc

Qirc is an IRC bot built in Python
https://github.com/nbaztec/qirc

Last synced: 11 months ago
JSON representation

Qirc is an IRC bot built in Python

Awesome Lists containing this project

README

          

## Qirc ##
====

Version: 5, Ubiquity

Qirc is an IRC bot built in Python. See the attached user-guide for the entire list of operations (also at http://nbaztec.co.in/projects/list/qirc/qirc-user-guide.html)

It is a simple bot with a simple extensible design and can support many complex tasks.

Supports:
* Wikipedia
* Wolfram Alpha
* Google Searches
* Youtube Searches
* Thinkdigit Forum
* Urbandictionary
* Twitter
* Weather and Forecasting
* IP Tracing
* Geolocation
* Voting, Votekick and Votearma (kickban)
* An experimental game - Werewolf
* Cleverbot
* Dice roll
* URL commands
* Reminder
* Seen
* Tell command for visitor messages that are delivered when a user arrives
* Vast set of verbs
* Logging
* Rule enforcement


And and a much hated 'Armageddon' command.
* A short arma command for selective kickban
* armarecover for quick recovery from Armageddon.

The bot can controlled dynamically via `/msg` commands and has persistence for saving its state.
Supports:
* `flags` for controlling bot's actions
* `modules` for dynamically enabling/disabling modules
* `users` for adding/removing users of bot spanning 3 classes of `admin`, `mod` and `mgr`.
* `enforce` for enforcing auto-kick(and ban) rules.

and many other...

Help:
* Use !help to obtain a set of commands
* Use -h or --help within each command for help and switches (there are aplenty of those)


## Example ##
====

```plaintext
:> !help
:> Enter -h for help on the respective command
:> Commands:
:> !help Shows this help
:> !search, !s Search for a term on various sites
:> !calc, !c Perform some calculation
:> !define, !d Get the meaning, antonyms, etc, for a term
:> !weather, !w Get weather and forecasts for a location
:> !locate, !l Locate a user, IP or coordinate
:> !url Perform operation on an url,
:> Use %N (max 5) to access an earlier url
:> !user Perform operation related to user
:> !vote Start a vote
:> !roll Roll a dice
:> !game Begin a game
:> !search -h
:> Options
:> -h, --help show this help message
:> -p, --private Get results in private
:> -t N, --result=N Get the N'th result
:> -1, --single Output single line of title
:> -g, --google Search on Google [Default]
:> -i, --gimage Search on Google Images
:> -y, --youtube Search on Youtube
:> -w, --wiki Search on Wikipedia
:> -m, --imdb Search on IMDB
:> -f, --tdf Search on TDF
:> -c CUSTOM, --custom=CUSTOM
:> Search on a custom site
```

*Note:* Search, Define, Location, Calcand URL extensions require you to enter your API keys for respective functions.