Commit Graph

79 Commits

Author SHA1 Message Date
John Maguire
53bc594552 adding a list of modules with help info to ~help command 2013-03-20 18:18:06 -04:00
John Maguire
163209afb9 adding some extra checks to ~help command to prevent errors 2013-03-20 17:47:01 -04:00
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
Jessica T
a8e8120a5c realityìri oel pamrel soli fì'ur mipa upxare leNa'vi 2013-01-29 14:47:37 +00:00
reality
eb62212626 Add check for channel ignorance in command execution logic [#190] 2013-01-27 16:48:14 +00:00
Luke Slater
6b6907fe7b re-add ~quote syntax 2013-01-24 00:39:42 +01:00
reality
d7bbd57358 what a fool 2013-01-23 13:40:33 +00:00
reality
69d9880519 update flow info for command 2013-01-15 21:14:52 +00:00
reality
4adfe63493 add api docs for command 2013-01-15 21:09:07 +00:00
Luke Slater
c783113cca This should fix that undefined whatsit 2013-01-15 18:38:08 +01:00
reality
921da917a4 Command hooks [#86]
* Command API function to addHook(command, callback)
* Commands open to callbacks must return information or indicate failed completion by return false
* Hooks to be added in module onLoad
* Command loop checks for available hooks and return state, then applies with module scope.
* onLoad running moved to end of all module loading to facilitate this without order problems
* Added example for ~qadd dent
2013-01-15 17:23:14 +00:00
reality
1bd1b5aa56 remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
reality
3bde9e4930 Transformed dent module, changed module loader to give right scope. [#131] 2013-01-14 17:45:53 +00:00
reality
0ff2a43c07 command can stand being run without quotes! 2013-01-14 16:47:48 +00:00
reality
5419a664dc Much better! [#131] 2013-01-14 16:24:38 +00:00
reality
dc269b53b4 Here is an experimental look at how modules will have to be as per [#131] 2013-01-14 16:02:40 +00:00
reality
0769d0bd69 Removed dependency on commandMap (I think ignore might still look at it for now). Underscorised command. [#81] 2013-01-12 16:14:17 +00:00
reality
76733f4679 Remove some debug output 2013-01-12 11:30:39 +00:00
reality
400169f9ee Disable command config [#126] Disabled ~js (good example for [#125]) 2013-01-12 10:12:56 +00:00
reality
f8d4896eb6 Moderator + admin access level for commands [#124]
* May now add property 'access' to commands specifying 'moderator' or 'admin' level access
* Add 'moderators' key to config
* Convert commands in admin module to use command marshalling listener rather than its own
2013-01-12 09:38:13 +00:00
reality
5429740eef add ignores to dbkeys in command so no fail if theres no ignore loaded 2013-01-05 18:53:27 +00:00
reality
1ab1ff5319 Help links added to config [#89] 2012-12-30 20:30:49 +00:00
reality
c06f754b8f Added ~help command [#89] 2012-12-30 20:15:48 +00:00
reality
56a7107b88 Complete strings.json usage in command [#88] 2012-12-30 16:45:14 +00:00
reality
8bd9f93632 add readme files for command and quotes [#75] 2012-12-29 23:05:16 +00:00
reality
81217ece50 Add a debug mode that shows the error and the top of the stack trace in the case of an error if activated. 2012-12-23 02:25:58 +00:00
Luke Slater
b641dcd34a usage info in command 2012-12-11 20:31:11 +00:00
Luke Slater
3a58f6b8b1 moved strings for command 2012-12-11 16:26:29 +00:00
Luke Slater
b2ea634d8c Move all the modules to their own directories 2012-12-11 16:04:52 +00:00