3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-26 20:52:39 +01:00
dbot/modules/sstats
2014-11-09 13:59:00 +00:00
..
api.js add word to the actual record 2013-10-22 14:25:53 +00:00
commands.js some ufixes 2014-11-09 13:59:00 +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 some ufixes 2014-11-09 13:59:00 +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