Commit graph

42 commits

Author SHA1 Message Date
Tiago R
06877e90cc
Update djs & knub (#395)
* update pkgs

Signed-off-by: GitHub <noreply@github.com>

* new knub typings

Signed-off-by: GitHub <noreply@github.com>

* more pkg updates

Signed-off-by: GitHub <noreply@github.com>

* more fixes

Signed-off-by: GitHub <noreply@github.com>

* channel typings

Signed-off-by: GitHub <noreply@github.com>

* more message utils typings fixes

Signed-off-by: GitHub <noreply@github.com>

* migrate permissions

Signed-off-by: GitHub <noreply@github.com>

* fix: InternalPoster webhookables

Signed-off-by: GitHub <noreply@github.com>

* djs typings: Attachment & Util

Signed-off-by: GitHub <noreply@github.com>

* more typings

Signed-off-by: GitHub <noreply@github.com>

* fix: rename permissionNames

Signed-off-by: GitHub <noreply@github.com>

* more fixes

Signed-off-by: GitHub <noreply@github.com>

* half the number of errors

* knub commands => messageCommands

Signed-off-by: GitHub <noreply@github.com>

* configPreprocessor => configParser

Signed-off-by: GitHub <noreply@github.com>

* fix channel.messages

Signed-off-by: GitHub <noreply@github.com>

* revert automod any typing

Signed-off-by: GitHub <noreply@github.com>

* more configParser typings

Signed-off-by: GitHub <noreply@github.com>

* revert

Signed-off-by: GitHub <noreply@github.com>

* remove knub type params

Signed-off-by: GitHub <noreply@github.com>

* fix more MessageEmbed / MessageOptions

Signed-off-by: GitHub <noreply@github.com>

* dumb commit for @almeidx to see why this is stupid

Signed-off-by: GitHub <noreply@github.com>

* temp disable custom_events

Signed-off-by: GitHub <noreply@github.com>

* more minor typings fixes - 23 err left

Signed-off-by: GitHub <noreply@github.com>

* update djs dep

* +debug build method (revert this)

Signed-off-by: GitHub <noreply@github.com>

* Revert "+debug build method (revert this)"

This reverts commit a80af1e729b742d1aad1097df538d224fbd32ce7.

* Redo +debug build (Revert this)

Signed-off-by: GitHub <noreply@github.com>

* uniform before/after Load shorthands

Signed-off-by: GitHub <noreply@github.com>

* remove unused imports & add prettier plugin

Signed-off-by: GitHub <noreply@github.com>

* env fixes for web platform hosting

Signed-off-by: GitHub <noreply@github.com>

* feat: knub v32-next; related fixes

* fix: allow legacy keys in change_perms action

* fix: request Message Content intent

* fix: use Knub's config validation logic in API

* fix(dashboard): fix error when there are no message and/or slash commands in a plugin

* fix(automod): start_thread action thread options

* fix(CustomEvents): message command types

* chore: remove unneeded type annotation

* feat: add forum channel icon; use thread icon for news threads

* chore: make tslint happy

* chore: fix formatting

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: almeidx <almeidx@pm.me>
Co-authored-by: Dragory <2606411+Dragory@users.noreply.github.com>
2023-04-01 14:58:17 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
c33f144944
Fix starboard reactions within threads 2021-09-05 23:49:35 +03:00
metal
a19de26ff1
Re-enable starboard + fixes (#262) 2021-09-04 19:20:50 +03:00
Dragory
329cd05652
Remove hotfixMessageFetch() 2021-08-20 20:01:32 +03:00
Dragory
8f790109df
Hotfix 15 2021-08-19 01:40:15 +03:00
Dragory
7348262bdb
Temporarily disable starboards 2021-08-19 01:28:37 +03:00
Dragory
8da47e53e6
Ugly workaround/hotfix for message fetching 2021-08-19 00:49:06 +03:00
almeidx
3537305c59
upgrade discord.js 2021-08-04 20:45:42 +01:00
almeidx
afe0ec1194
removed unnecessary string literal and simplified stuff 2021-07-29 10:08:55 +01:00
almeidx
3a59f772ae
use optional chaining and createdTimestamp on embed 2021-07-29 01:18:06 +01:00
almeidx
87cc461c79
always set author icon url using dynamic 2021-07-29 01:10:53 +01:00
almeidx
9539c5a7de
corrected type assertion 2021-07-29 01:08:00 +01:00
almeidx
74a676913e
user.tag 2021-07-29 00:37:19 +01:00
Dark
d2dd103175
Start move to configAccessibleObjects, exclude perm overrides from logs
configAccessibleObjects are used to guarantee backwards compatibility and consistency.
Perm overrides from our own plugins are ignored as to not spam logs through bot managed slowmode or companion channels
2021-07-06 05:23:47 +02:00
Dark
dda19de6e6
Fix various bugs, update djs 2021-07-04 23:14:12 +02:00
Dark
0822fc15e5
Type fixes for djs 2021-06-30 04:56:56 +02:00
Dark
5efdf5ce95
Formatting and initial ButtonRoles DB work 2021-06-08 02:23:30 +02:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Dark
d0a1beb809
Finish preliminary rework, ready to test 2021-06-02 04:07:50 +02:00
Dark
52839cc9f3
More rework progress, remove all eris imports 2021-06-01 02:05:55 +02:00
Dragory
72637fe1b3
More initialization order fixes (vol 2) 2021-05-23 17:13:11 +03:00
Dragory
f6be4f4af6
Update to Knub30.0.0-beta.37 and Eris 0.15, first pass 2021-05-23 14:35:16 +03:00
Almeida
a4a7eb41b0
refactor(*): remove unused exception variables (#193) 2021-05-06 21:23:47 +03:00
Dragory
5f3c94d064
starboard: use default embed color by default instead of black 2021-04-10 16:30:03 +03:00
Nils
c5d68650a3
Enforce unified lock names by using functions to generate lock keys (#165) 2021-04-02 16:43:13 +03:00
vcokltfre
fcbb25b7ff
feat: add color option to starboard (#163)
Co-authored-by: Almeida <42935195+almeidx@users.noreply.github.com>
2021-04-02 16:42:25 +03:00
Dragory
e0a19331c3
Fix 6am mistakes 2020-12-23 15:56:49 +02:00
Dragory
e1e1854041
Fix race conditions and duplicate stars in starboard 2020-12-23 05:28:21 +02:00
Dragory
9883610a3b
starboard: add star count to embed, update automatically 2020-12-23 03:47:43 +02:00
Dragory
5ec33848b4
starboard: note if the message contains audio or video attachments 2020-12-23 02:57:12 +02:00
Dragory
867155019e
starboard: use embed thumbnails as image if there is no image 2020-12-23 02:39:44 +02:00
Dragory
b616b6a02a
starboard: don't include image link when discord hides it 2020-12-23 02:37:08 +02:00
Nils
b2a53b0722
Add locks to starboard and include example of level-only starring (#125) 2020-12-20 18:32:24 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
76f7658763
Fixes 2020-10-16 02:13:54 +03:00
Dragory
2f470dc37a
Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +03:00
Dragory
c67a1df11d
Add support for server-specific timezone and date format settings 2020-08-10 00:24:06 +03:00
Dragory
7909c99a7f
Fix up docs 2020-07-30 13:08:06 +03:00
Dragory
e7d647f1e6
starboard: fix category overrides not working 2020-07-30 02:02:32 +03:00
Dragory
49559c14fd
Fix error when starring a post for starboard 2020-07-29 20:08:41 +03:00
Dark
599a504b17 Migrate Starboard to new Plugin structure 2020-07-22 23:15:40 +02:00