3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 15:45:03 +00:00
Commit graph

100 commits

Author SHA1 Message Date
roflmaoqwerty
7205aae5ef default emoji support for !jumbo 2020-01-14 18:46:53 +11:00
roflmaoqwerty
6c9cb78a21 implemented !jumbo 2020-01-14 18:46:53 +11:00
roflmaoqwerty
cda702d555 initial commit. Just need to implement gif resize 2020-01-14 18:46:52 +11:00
Dragory
161d2dd3c3 Fix error when loading old persist configs 2020-01-12 17:24:55 +02:00
Dragory
eb8b313d8f automod: fix mutes not applying 2020-01-12 17:17:01 +02:00
Dragory
0a92680a30 search: don't throw an error if the search results message is removed before the reactions are removed 2020-01-12 17:16:18 +02:00
Dragory
4c404aa2a3 Persist: remove voice mute persist support
Since voice mutes cannot be re-applied unless the member is in voice,
we can't re-apply the voice mute automatically on join and would have
to do it later when they first join voice, which could get messy if
they were not supposed to be voice muted anymore after all (if they
e.g. don't use voice for a long time).
2020-01-12 17:05:55 +02:00
Dragory
72783628b4 AutoReactions: send a bot alert if the bot is missing permissions to apply auto reactions (triggered by unknown messages, so usually 'read message history') 2020-01-12 17:05:30 +02:00
Dragory
bedf0c436c ReactionRoles: automatically clear reaction roles from unknown messages 2020-01-12 17:02:14 +02:00
Dragory
66874615f7 ReactionRoles: add extra debug info for unknown messages 2020-01-12 16:37:40 +02:00
Dragory
b4dbf246be Add more info to !server, and tweak formatting 2020-01-12 16:34:55 +02:00
Dragory
b8feafcbfb Add function for formatting large numbers 2020-01-12 16:34:33 +02:00
Dragory
58b4a6aa3d Set default success emoji to zep_check; add error_emoji support, mirroring success_emoji but for error messages 2020-01-12 13:44:31 +02:00
Miikka
431c476e9d Merge branch 'master' into custom-success-emoji 2020-01-12 13:39:59 +02:00
Dragory
4329736716 Update to Knub 29. Set up config types for Knub. 2020-01-12 13:37:43 +02:00
roflmaoqwerty
a5fb1ee700 ran npm run format 2020-01-12 22:31:30 +11:00
roflmaoqwerty
954ce089ea success emoji now loaded from config 2020-01-12 22:21:14 +11:00
roflmaoqwerty
f819b17075 changed almost all references of utils successMessage to this.sendSuccessMessage. Waiting on knub changes to finish this 2020-01-12 22:21:14 +11:00
Dragory
78d3f7e887 Fix tslint errors 2020-01-12 12:04:20 +02:00
Dragory
6e6880b4ca typings: fix duration arg not being marked as optional in vcalertCmd 2020-01-12 11:53:17 +02:00
Miikka
42c5e10853 Merge branch 'master' into fixLocateUser 2020-01-12 11:51:59 +02:00
Dragory
3d40783ae1 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
1c0f69e80a Merge pull request #25 from roflmaoqwerty/compact-info
Add -compact/-c flag to !info
2020-01-12 11:45:29 +02:00
Dragory
30a0d3dbf4 logs: make sure the passed member object is stripped 2020-01-12 11:43:56 +02:00
Dragory
a22b5b32d3 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
1959af5e1b resolveRoleId: fix return type 2020-01-12 11:39:26 +02:00
Dragory
ab459aaa8f canActOn: add option to allow same level 2020-01-12 11:38:12 +02:00
Dragory
20776de97d 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
e85f8c25c6 Merge pull request #23 from roflmaoqwerty/reminder-updates
Reminder updates
2020-01-12 10:37:34 +02:00
Miikka
eb686457b4 Merge pull request #22 from roflmaoqwerty/fix-flags
Converted all remaining boolean parameters to flags
2020-01-12 10:36:00 +02:00
Dragory
d4f569ee0f 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
d8b3251472 fixed whitespace 2020-01-11 10:26:47 +11:00
roflmaoqwerty
771266d2fa Cleaned up code 2020-01-11 02:05:54 +11:00
roflmaoqwerty
a7b33cc026 Added compact switch to !info 2020-01-11 01:39:02 +11:00
roflmaoqwerty
37aee76a40 Merge branch 'master' into roles-mod-action 2020-01-10 16:02:14 +11:00
roflmaoqwerty
bfd8bd2a66 Merge branch 'master' of https://github.com/Dragory/ZeppelinBot 2020-01-10 01:11:32 +11:00
roflmaoqwerty
9ac5701817 added match by role name functionality to roles plugin 2020-01-10 01:04:58 +11:00
Dragory
c17c16b764 Update Knub to v27.0.0; update knub-command-manager to v7.0.0 2020-01-09 06:05:17 +02:00
roflmaoqwerty
c4bdb2b461 POC done 2020-01-09 01:32:12 +11:00
roflmaoqwerty
683f903673 created new plugin 2020-01-09 00:23:41 +11:00
roflmaoqwerty
eac3bf3cf2 removed unnecessary code lines 2: electric boogaloo 2 2020-01-08 14:35:44 +11:00
roflmaoqwerty
8224ab01b0 removed unnecessary code lines 2: electric boogaloo 2020-01-08 14:34:36 +11:00
roflmaoqwerty
34e120a945 removed unnecessary code lines 2020-01-08 14:33:12 +11:00
roflmaoqwerty
141cc1b9cc 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
ff6a922404 Converted all remaining boolean parameters to flags 2020-01-04 16:00:21 +11:00
Miikka
46a8119660 Merge pull request #21 from roflmaoqwerty/fix-search-case-sensitivity
fixed search case sensitivity issue
2019-12-29 22:55:30 -05:00
Dragory
247aa777db Update Knub to 26.1.1 2019-12-29 22:34:05 -05:00
roflmaoqwerty
44a4888f18 fixed case issue 2019-12-29 00:51:04 +11:00
Dragory
b3efe86bb4 Add source map support to backend dev builds 2019-12-08 02:05:35 +02:00
Dragory
0d98caf74b starboard: prevent self-votes 2019-12-02 01:13:53 +02:00