3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 07:35:02 +00:00
Commit graph

31 commits

Author SHA1 Message Date
Dragory
039f0452fb Add io-ts config schemas to all guild plugins 2019-07-21 21:15:52 +03:00
Dragory
5d664fbe00 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2019-06-22 18:52:49 +03:00
Miikka
81bfae3c33 Fix crash on unknown channel when applying reaction roles 2019-06-11 10:24:50 +03:00
Dragory
9109e9a2c3 Split BaseRepository into non-guild and guild
BaseRepository includes all the non-guild-specific functionality,
such as with() and getRelations().
BaseGuildRepository includes guild-specific functionality, such as
getInstance().
2019-05-25 21:25:34 +03:00
Dragory
ef9afee8b4 Fix member fetching in a few places 2019-05-02 08:21:11 +03:00
Dragory
9cc73600f6 Handle reaction roles for an unknown message gracefully 2019-04-30 06:58:38 +03:00
Dragory
289b425a25 Update to Knub 19.1.1 and update plugins accordingly 2019-04-13 01:44:18 +03:00
Dragory
1c77269643 Add types for all plugin configs and permissions. Update code to work with Knub 18. 2019-03-04 21:44:04 +02:00
Dragory
1f098593d4 ReactionRoles: some more rate limit tweaking 2019-02-24 01:06:40 +02:00
Dragory
4c7af0a7b5 ReactionRoles: slow down reaction removal to avoid rate limiting 2019-02-23 23:39:12 +02:00
Dragory
19a462c7b9 ReactionRoles: new usage model, optimization
old: click reaction to toggle your role
new: click reaction to add role, click X reaction to clear roles

Multiple role changes in quick succession are now also batched into
a single member.edit() call.
2019-02-23 21:21:05 +02:00
Dragory
bd97255f6c Add SelfGrantableRoles 2019-02-19 00:02:46 +02:00
Dragory
06a48fcaa6 ReactionRoles: add support for auto-refresh; don't allow refreshing the same message's reactions multiple times at once 2019-02-18 01:58:21 +02:00
Dragory
65c2b9bf64 Cleanup 2019-02-17 16:01:38 +02:00
Dragory
9c099d5541 Update to Knub 17.0.1, remove all d.nonBlocking() calls 2019-02-17 15:19:55 +02:00
Dragory
7a13d04455 ReactionRoles: increase reaction removal delay to avoid confusion 2019-02-16 16:43:59 +02:00
Dragory
3ab5e0675f ReactionRoles: don't add/remove roles multiple times if the user spams the reaction 2019-02-16 16:03:20 +02:00
Dragory
c393c794f6 ReactionRoles: add a small delay before removing the reaction 2019-02-16 14:40:44 +02:00
Dragory
b0debe55f7 ReactionRoles: queue reaction removals 2019-02-16 12:01:31 +02:00
Dragory
c7beda3146 ReactionRoles: use reactionAdd as a toggle instead, and remove reactions as soon as the role is granted 2019-02-16 11:58:11 +02:00
Dragory
691b631e7d Ignore low prio errors in ReactionRoles 2019-02-16 11:29:20 +02:00
Dragory
b94191004d ReactionRoles: add !reaction_roles refresh command 2019-02-10 22:32:27 +02:00
Dragory
3138738139 ReactionRoles: only require message id; allow use of emojis from other (shared) servers; add !reaction_roles clear command 2019-02-09 14:36:03 +02:00
Dragory
8293af10a9 Fix custom emojis in reaction roles 2019-02-06 20:07:53 +02:00
Dragory
aff89511bc ReactionRoles: fix error when removing old reactions 2019-02-06 19:30:20 +02:00
Dragory
6a6df56947 ReactionRoles: fix custom emoji reactions 2019-02-06 19:29:50 +02:00
Dragory
9670a17e99 Add auto-reaction support 2019-01-12 13:42:11 +02:00
Dragory
12f309d412 Update to Knub 14.0.0 and make changes to plugins accordingly 2019-01-03 06:15:28 +02:00
Dragory
89dfeccd90 Switch from Knex to TypeORM. Update Knub. 2018-10-26 06:41:20 +03:00
Dragory
141b6cbf43 Use fancier typings in ReactionRolesPlugin 2018-08-03 19:26:27 +03:00
Dragory
c0614f2470 Add ReactionRoles plugin 2018-07-29 15:18:26 +03:00