Dragory
e231faf51f
Fix username change logging and saving. Re-enable migrations.
2019-05-03 23:31:38 +03:00
Dragory
56f746787f
Prepare to migrate usernames to a new table
2019-05-03 22:25:23 +03:00
Dragory
017d721792
Temporarily load all users on start again
2019-05-02 17:46:04 +03:00
Dragory
a5f34d6e9a
Add !about command
2019-04-23 05:58:50 +03:00
Dragory
3b340a92c1
Log in console when we crash due to too many recent errors
2019-04-23 05:38:48 +03:00
Dragory
64dd1fc9e0
Tolerate some Discord API errors before crashing
2019-04-23 05:29:53 +03:00
Dragory
51a77b0082
Don't load all members on startup
...
Should improve start times significantly
2019-04-20 19:54:55 +03:00
Dragory
ab83e83d42
Add custom argument types for deep-resolved users/members, use these in some places. Deprecate unknownUser (constant) and replace with instances of UnknownUser (class).
2019-04-20 19:03:30 +03:00
Dragory
608f17c532
Deprecate GuildActions. Fix double case posting when muting a user for message spam. Update to new mute/case style when muting a user for "other" spam.
...
GuildActions turned out to be a fairly pointless abstraction in the end.
It didn't really solve the problems it was meant to solve (that is,
reduce code spaghetti by having all inter-plugin calls go through a
single service, and allow easier ways to replace core plugins with
alternatives that share the same interface) any better than simply
using `this.getPlugin()` when needed, and introduced extra complexity
and made static analysis messier.
2019-04-20 17:36:28 +03:00
Dragory
ee20363dd8
Fix user mentions not working for mod actions. Allow using plain username to target users with mod actions. Make error messages more consistent.
2019-04-19 12:25:25 +03:00
Dragory
fdd9bd93c5
mute list: show whether the user has left the server or been banned; allow filtering by whether the user has left with --left
2019-04-13 03:17:09 +03:00
Dragory
18e321f5bb
Fix type error
2019-04-05 20:06:29 +03:00
Dragory
8e2808d42c
Fix quotation marks in !mute and !unmute arguments
2019-04-05 20:05:37 +03:00
Dragory
6491c48289
Add reminders
2019-02-20 00:01:14 +02:00
Dragory
457d57fb8c
Add SelfGrantableRoles
2019-02-19 00:02:46 +02:00
Dragory
e5032d8cd4
Add performance logging
2019-02-08 21:04:04 +02:00
Dragory
83bc596e2b
Add ratelimit debug messages
2019-02-07 20:44:26 +02:00
Dragory
ee3a64cafa
Small cleanup
2019-01-15 01:07:02 +02:00
Dragory
7c39454a9d
Only tolerate recent plugin errors (not any errors)
2019-01-15 01:05:12 +02:00
Dragory
fec64103f6
Add timestamps to log messages
2019-01-13 23:29:44 +02:00
Dragory
7417e34e00
Fix to 'recent errors' check
2019-01-13 18:01:28 +02:00
Dragory
dcb00d74f8
Don'Ãt exit on errors unless there have been a lot of them recently
2019-01-13 16:52:00 +02:00
Dragory
3efd64c489
Add support for pingable roles
2019-01-12 14:09:11 +02:00
Dragory
d3a4989dc0
Add auto-reaction support
2019-01-12 13:42:11 +02:00
Dragory
681517341e
Add name history plugin
2019-01-06 15:27:51 +02:00
Dragory
b0cd8762f1
Update to Knub 14.0.0 and make changes to plugins accordingly
2019-01-03 06:15:28 +02:00
Dragory
6e0e772d88
Fix Node.js version check
2019-01-03 03:47:52 +02:00
Dragory
0c8efedb8c
Add Starboard plugin
2018-12-15 23:01:45 +02:00
Dragory
0431b3c225
Add Slowmode plugin
2018-12-15 17:04:04 +02:00
Dragory
42f45af499
Verify required Node.js version
2018-12-14 06:27:41 +02:00
Dragory
2e30a3b9e7
Use actions/events for plugin interoperability. Move base case and mute functionality to their own plugins.
2018-11-25 17:04:26 +02:00
Dragory
ba2ad8a528
Add MessageSaver plugin. Fix some buggy queries.
2018-11-24 14:01:06 +02:00
Dragory
f9c16263ae
Switch from Knex to TypeORM. Update Knub.
2018-10-26 06:41:20 +03:00
Dragory
4a1a14be59
Add Tags plugin
2018-08-05 01:32:59 +03:00
Dragory
be1c327093
Don't crash on Discord HTTP errors
2018-08-03 19:25:00 +03:00
Dragory
e2261cd758
Crash on errors after all
2018-08-02 03:46:29 +03:00
Dragory
c4523ddc32
Don't crash on error; just console.error it
2018-08-02 01:19:20 +03:00
Dragory
94c8e1cf43
Switch from node-mariasql to mysql2
...
Node-mariasql returned dates in an incorrect timezone, and the project
doesn't seem to be actively maintained. Switching to mysql2 fixes the issue.
2018-08-02 00:48:48 +03:00
Dragory
16be52a5e7
feat: save deleted spam logs; server spam logs from a web server; update Knub to 9.6.4
2018-08-01 20:09:51 +03:00
Dragory
fb5c29a827
fix: load all guild members on start
2018-07-31 20:58:48 +03:00
Dragory
b0c10b1fda
Only load plugins that are defined in config
2018-07-31 19:00:17 +03:00
Dragory
7ded84b924
Add spam plugin. Add clean commands. Update Knub to 9.6.0.
2018-07-31 02:42:45 +03:00
Dragory
ad6afdfac1
Add persist plugin
2018-07-30 23:35:44 +03:00
Dragory
e7734c558c
Add censor plugin. Various other fixes/features. Update Knub to 9.4.13.
2018-07-30 01:44:03 +03:00
Dragory
c0614f2470
Add ReactionRoles plugin
2018-07-29 15:18:26 +03:00
Dragory
b7f06c18d4
Add post plugin for posting messages as the bot
2018-07-14 20:54:48 +03:00
Dragory
c087654979
Add Logs plugin and GuildServerLogs class to communicate with it
2018-07-09 02:48:36 +03:00
Dragory
8234f67b0f
Fix moment import in index.ts
2018-07-08 13:58:45 +03:00
Dragory
47f124c7d6
Set moment default timezone to UTC
...
This requires switching to the moment-timezone package.
This is for consistensy with knexfile, which already sets the DB timezone to UTC.
2018-07-07 15:39:56 +03:00
Dragory
e70f1baa27
Various small fixes
2018-07-01 04:31:24 +03:00