3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 04:02:39 +01:00
dbot/modules/sstats
2014-07-08 11:33:56 +00:00
..
api.js add word to the actual record 2013-10-22 14:25:53 +00:00
commands.js fix all the module regexen 2013-12-29 18:38:24 +00:00
config.json Various README.md's and cleanups 2014-02-20 06:06:02 +01:00
README.md Various README.md's and cleanups 2014-02-20 06:06:02 +01:00
sstats.js fix merge? 2014-07-08 11:33:56 +00:00
strings.json TRANSLATIONS FROM ROI 2013-10-29 21:39:26 +00:00

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