3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 21:09:31 +01:00
dbot/modules/sstats/README.md
2014-02-20 06:06:02 +01:00

1.4 KiB

sstats

Adds various stats functionality.

Description

This module provides a command which allows users to print stats, such as how many words etc..

Dependencies

It has following dependencies: + async

config.json

database type and curses can be set.

{
    "dbType": "redis",
    "dependencies": [ "users" ],
    "curses": [ "s***", "f***" ]
}

Commands

~words [user]

Displays how many words a user wrote. Example: + ~words reality

~lines [user]

Displays how many lines a user wrote. Example: + ~lines reality

~loudest [channel]

Displays the users with the most lines written. Example: + ~loudest #tripsit

~uncouth [channel]

Displays the users with the most curses written. Example: + ~uncouth #tripsit

~shoutiest [user]

Displays the users with the most capital words written. Example: + ~shoutiest #tripsit

~wordiest [channel]

Displays the users with the most words written. Example: + ~wordiest #tripsit

~clines [user]

Displays how many lines a user wrote in all channels. Example: + ~clines reality

~last [user]

Displays when the user was last seen. Example: + ~last reality

~trackword [word]

Adding a word to being tracked. Example: + ~trackword derp

~word [word]

Displays how often a word was written in all channels. Example: + ~word derp

~wordusers [word]

Displays how often and by whom a word was written. Example: + ~wordusers derp

TODO