Miikka
b1b4b85e94
Merge branch 'master' into fixLocateUser
2020-01-12 11:51:59 +02:00
Dragory
1aceb55a87
Run prettier and check tslint on entire codebase
...
Mainly to run these checks for the recent pull requests.
2020-01-12 11:48:31 +02:00
Miikka
65880d2e60
Merge pull request #25 from roflmaoqwerty/compact-info
...
Add -compact/-c flag to !info
2020-01-12 11:45:29 +02:00
Dragory
8c36e5fa01
logs: make sure the passed member object is stripped
2020-01-12 11:43:56 +02:00
Dragory
bf44a04e2c
Tweaks to Roles plugin before merging
...
Separate role adding/removing to two separate commands for clearer
help pages and to remove the conflict with the self-assignable roles
plugin.
Require the assignable_roles option to always be an array (even if an
empty one).
Allow role assignments to self.
Log role additions/removals via these commands with the right
moderator name (instead of relying on the auto-log from the event).
2020-01-12 11:39:54 +02:00
Dragory
a0881e8298
resolveRoleId: fix return type
2020-01-12 11:39:26 +02:00
Dragory
c1b7967d10
canActOn: add option to allow same level
2020-01-12 11:38:12 +02:00
Dragory
63b3519ac4
Merge branch 'roles-mod-action' of git://github.com/roflmaoqwerty/ZeppelinBot into roflmaoqwerty-roles-mod-action
2020-01-12 10:42:03 +02:00
Miikka
7562bf8fd1
Merge pull request #23 from roflmaoqwerty/reminder-updates
...
Reminder updates
2020-01-12 10:37:34 +02:00
Miikka
65816337a0
Merge pull request #22 from roflmaoqwerty/fix-flags
...
Converted all remaining boolean parameters to flags
2020-01-12 10:36:00 +02:00
Dragory
59a927ba93
Update to Knub 28, improve debugger-friendliness
...
Development npm scripts now also listen for debuggers:
- Port 9229 for the bot
- Port 9239 for the api
Via Knub 28, PluginErrors are no longer used in development, which
helps with call stacks in debuggers (see Knub changelog).
Unhandled promise rejections are now treated as exceptions via nodejs
flag --unhandled-rejections=strict, which allows catching them with
a debugger.
The internal "error-tolerant" error handler is now only used in
production; in development, all unhandled errors cause the bot to
crash and are easily catchable by debuggers.
2020-01-12 10:34:05 +02:00
roflmaoqwerty
1d1de40e35
fixed whitespace
2020-01-11 10:26:47 +11:00
roflmaoqwerty
4623475fb5
Cleaned up code
2020-01-11 02:05:54 +11:00
roflmaoqwerty
12d8b19561
Added compact switch to !info
2020-01-11 01:39:02 +11:00
roflmaoqwerty
141aa944be
Merge branch 'master' into roles-mod-action
2020-01-10 16:02:14 +11:00
roflmaoqwerty
c255019d43
Merge branch 'master' of https://github.com/Dragory/ZeppelinBot
2020-01-10 01:11:32 +11:00
roflmaoqwerty
d16a67bca3
added match by role name functionality to roles plugin
2020-01-10 01:04:58 +11:00
Dragory
7de4be0b44
Update Knub to v27.0.0; update knub-command-manager to v7.0.0
2020-01-09 06:05:17 +02:00
roflmaoqwerty
fa1e8b78f5
POC done
2020-01-09 01:32:12 +11:00
roflmaoqwerty
0b1381e7b3
created new plugin
2020-01-09 00:23:41 +11:00
roflmaoqwerty
329de665f5
removed unnecessary code lines 2: electric boogaloo 2
2020-01-08 14:35:44 +11:00
roflmaoqwerty
a1cb358d16
removed unnecessary code lines 2: electric boogaloo
2020-01-08 14:34:36 +11:00
roflmaoqwerty
34aed027f4
removed unnecessary code lines
2020-01-08 14:33:12 +11:00
roflmaoqwerty
17decd09d5
Added created_at field to reminders table. Added time remaining timestamp to reminders command. Added creation date timestamp to reminder activation message
2020-01-08 14:29:49 +11:00
roflmaoqwerty
25c88ae630
Converted all remaining boolean parameters to flags
2020-01-04 16:00:21 +11:00
Miikka
4e1b135724
Merge pull request #21 from roflmaoqwerty/fix-search-case-sensitivity
...
fixed search case sensitivity issue
2019-12-29 22:55:30 -05:00
Dragory
3740a59d20
Update Knub to 26.1.1
2019-12-29 22:34:05 -05:00
roflmaoqwerty
b249ab7142
fixed case issue
2019-12-29 00:51:04 +11:00
Dragory
73780e503f
Add source map support to backend dev builds
2019-12-08 02:05:35 +02:00
Miikka
30e86fcc73
Update README.md
2019-12-02 10:46:11 +02:00
Dragory
d403292ef6
starboard: prevent self-votes
2019-12-02 01:13:53 +02:00
Dragory
5ab6f59593
starboard: localized timestamps; add link to original message again
2019-12-02 01:11:40 +02:00
Dragory
c7103ac432
Set !post -repeat max time to 2^32 milliseconds
2019-12-02 00:09:04 +02:00
Dragory
2ff65e89fd
Add repeat options for scheduled posts
2019-12-01 23:23:34 +02:00
Dragory
646156344a
automod: move actions taken after summary in log message
2019-12-01 15:59:57 +02:00
Dragory
56fb432c7c
Initial work on stats
2019-12-01 15:57:35 +02:00
Dragory
26c460e67a
trimPluginDescription: use first line's indentation instead
2019-12-01 15:57:17 +02:00
Dragory
698174a584
vcalert: use overloads instead of double optional parameter
...
Knub-command-manager doesn't support more than one optional parameter
at the moment.
2019-12-01 02:40:53 +02:00
Dragory
0687e67bc5
Fix 3
2019-12-01 02:09:48 +02:00
Dragory
5489840bb4
Fix 2
2019-12-01 02:07:22 +02:00
Dragory
83f49f3805
Fix
2019-12-01 02:05:33 +02:00
Dragory
a0edd962f3
Add support for regex in !search via -regex/-re
2019-12-01 01:01:20 +02:00
Dragory
c1cb5a4ed7
search: add -ids switch to list result ids; fix reactions from other messages affecting search results
2019-12-01 00:37:54 +02:00
Dragory
d2a6cb1684
Add --exclusive/-e to !reaction_roles
...
When reaction roles are set as exclusive, a user can only have 1
reaction role from that message. Others are removed automatically when
picking a role if needed.
2019-11-30 23:39:32 +02:00
Dragory
546835d421
starboard: fix starboards accepting any emoji instead of just the specified one
2019-11-30 23:39:12 +02:00
Dragory
29d0bc3a18
typeorm: set migrationsDir to the dev folder
...
The actual migrations are run based on the "migrations" array, so this
only affects the migration creation command (which is always in dev).
2019-11-30 23:38:19 +02:00
Dragory
b47872bf87
utility: fix !clean response delete behaviour
...
The !clean response is intended to be deleted after a delay when
cleaning the current channel i.e. not specifying a different channel
to clean. This behaviour was reversed, so the response got deleted when
cleaning a different channel and stayed when cleaning the current
channel.
2019-11-30 22:23:11 +02:00
Dragory
23a9a5e800
utility: reply with archive url when !cleaning other channels
2019-11-30 22:22:25 +02:00
Dragory
53e7c2f17d
utility: add --bot/-bot to !search to search for bot members
2019-11-30 22:16:57 +02:00
Dragory
17f34ffeb7
utility: fix !search --export/-e only showing the first 15 results
2019-11-30 22:13:48 +02:00