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

1085 commits

Author SHA1 Message Date
roflmaoqwerty
67235eed8c implemented !jumbo 2020-01-14 01:52:22 +11:00
Dragory
7c06a8cfc4
Fix error when loading old persist configs 2020-01-12 17:24:55 +02:00
Dragory
73dc0d00fb
automod: fix mutes not applying 2020-01-12 17:17:01 +02:00
Dragory
bec583f96a
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
5a0f8badca 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
9b9b6a1518 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
ca5c7fed64 ReactionRoles: automatically clear reaction roles from unknown messages 2020-01-12 17:02:14 +02:00
Dragory
cfd713ff5f ReactionRoles: add extra debug info for unknown messages 2020-01-12 16:37:40 +02:00
Dragory
8a1df3f314 Add more info to !server, and tweak formatting 2020-01-12 16:34:55 +02:00
Dragory
225f4084b2 Add function for formatting large numbers 2020-01-12 16:34:33 +02:00
Dragory
fd47ba9d69 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
21fdd76863
Merge pull request #26 from roflmaoqwerty/custom-success-emoji
Custom success emoji
2020-01-12 13:40:35 +02:00
roflmaoqwerty
ee4bf10bd0 initial commit. Just need to implement gif resize 2020-01-12 22:40:11 +11:00
Miikka
4e22d521f7
Merge branch 'master' into custom-success-emoji 2020-01-12 13:39:59 +02:00
Dragory
94ef7b8ee0 Update to Knub 29. Set up config types for Knub. 2020-01-12 13:37:43 +02:00
roflmaoqwerty
a384be032a removed vscode debug file 2020-01-12 22:35:37 +11:00
roflmaoqwerty
c532ab06fb ran npm run format 2020-01-12 22:31:30 +11:00
roflmaoqwerty
b785efe490 success emoji now loaded from config 2020-01-12 22:21:14 +11:00
roflmaoqwerty
af882627a1 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
3e974e84b3 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2020-01-12 12:04:31 +02:00
Dragory
1ae84afb12 Fix tslint errors 2020-01-12 12:04:20 +02:00
Dragory
7f4529ce93 Add paths to lint script. Ignore node_modules in prettier scripts. 2020-01-12 12:03:07 +02:00
Miikka
f5af72e57a
Create codequality.yml 2020-01-12 11:58:42 +02:00
Dragory
2e621c46b9 Add codestyle-check npm script 2020-01-12 11:57:25 +02:00
Dragory
f41919c3e3 Add lint npm script 2020-01-12 11:56:01 +02:00
Dragory
2ee0bc2a3d typings: fix duration arg not being marked as optional in vcalertCmd 2020-01-12 11:53:17 +02:00
Miikka
d1ba1b34b6
Merge pull request #20 from DarkView/fixLocateUser
Fixed locateUser being unable to load and added w alias for where
2020-01-12 11:52:12 +02:00
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