3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 04:02:39 +01:00
dbot/modules/report
Douglas Gardner a53eb5e0d2 begin transition from English to ISO-639 with #234
This patch converts all English language strings used within
depressionbot's localisation interface (that is, strings.json) to their
ISO-639-1 equivalents.

The purpose of this patch is to make the strings.json file less
English-dependent.

All languages with an ISO-639-1 code have been converted; that is,
English, Spanish and Welsh, to ``en``, ``es`` and ``cy`` respectively.

This patch does not attempt to force a solution to the issue of Na'vi:
the language does not have a large enough corpus to warrant its own ISO
639-3 code, and as such there is no perfect solution. For the time
being, this patch keeps the Na'vi language as its English language
string ("Na'vi"). A possible solution to this discrepancy includes using
the ISO 639-3 code ``art``, used for artificial languages that do not
qualify for an official code, or by using local use codes specified
in ISO 639-3 (qaa to qtz).

This patch requires collaboration with upstream repositories that also
use strings.json, such as the Github and Stats modules.
2013-02-12 18:39:15 +00:00
..
config.json Add dependency info [#187] 2013-01-21 20:50:23 +00:00
README.md Module documentation for Report [#75] 2012-12-30 19:47:53 +00:00
report.js report uses known users api functionality [#158] 2013-01-20 19:04:12 +00:00
strings.json begin transition from English to ISO-639 with #234 2013-02-12 18:39:15 +00:00
usage.json loaded strings and usage from the modules themselves in reloadModules. some other smaller changes. fixed the syntax of the usage json. careful though this dbot init may delete your database. 2012-12-11 20:06:29 +00:00

Report

Report users

Description

This module provides a command which allows users to report other users in a channel to the operators of the channel, as well as posting an alert in the administrative channel. It can be done either anonymously or publicly in the channel.

Commands

~report [#channel] [username] [reason for reporting]

Report a user in a channel for a reason. This command can either be run publicly in a channel or anonymously in a PM to the bot. The result of using this command will be that all of the users which are currently marked as operators in the reporting channel will receive a PM telling them a user has been reported, by whom, in which channel and why. If there is an administrative channel for the reporting channel (e.g. ##channel), the report will be posted there as well.