Commit graph

38 commits

Author SHA1 Message Date
Dragory
1518d58e25
Merge master 2024-01-27 14:35:11 +02:00
Dragory
77ab2718e7
chore: resolve lint errors 2024-01-27 14:21:32 +02:00
Tiago R
aa1f11e801 lint
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
c5704131ce support media channels
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
94a712832a
Display available emojis separately from total on server info (#433)
* respect .available (almeida-approved code!!)

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

* Update backend/src/plugins/Utility/functions/getServerInfoEmbed.ts

Co-authored-by: Almeida <almeidx@pm.me>

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Almeida <almeidx@pm.me>
2023-12-27 18:20:48 +00:00
Tiago R
7c2a50921b
Fix: Utility-ServerInfo several fixes (#394) 2023-07-01 13:46:21 +03:00
Dragory
ecaa16bf7c feat: use native timestamps more 2023-06-24 11:55:49 +00:00
Dragory
0e70412bc4 feat: new username support 2023-06-24 10:48:45 +00:00
Dragory
16fa19d3e9
chore: prettier 2023-05-08 21:33:40 +03:00
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
Almeida
535659a2b7
Fix max stickers and premium tier in !server (#258) 2021-09-04 19:16:44 +03:00
almeidx
5fad488a63
changes to serverinfo and fixes in utils 2021-07-29 17:18:49 +01:00
almeidx
35bf6e5b82
use idToTimestamp method 2021-07-29 16:36:00 +01:00
almeidx
e12f37bb6a
show created timestamp and sticker info on server info 2021-07-29 10:26:05 +01:00
almeidx
afe0ec1194
removed unnecessary string literal and simplified stuff 2021-07-29 10:08:55 +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
4d1924b1ec
Add sticker count to server info embed
Still need to wait on DJS update for actual sticker count
2021-07-04 17:48:26 +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
3f34a463e9
Clean up unnecessary optional chaining 2021-04-02 20:17:29 +03:00
Dragory
dd07786fe8
!server: fix banner URL not being masked; rename links from 'URL' to 'Link' 2021-04-02 20:15:13 +03:00
Dragory
53b64682ee
Update to eris#dev 2021-04-02 19:02:20 +03:00
Nils
23c68d1d44
Add image links to server info embed (#150) 2021-02-13 20:04:59 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
2f470dc37a
Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +03:00
Dragory
753ceda5ec
!timezone: add fuzzy matching for timezone name; add reset 2020-08-19 00:47:42 +03:00
Dragory
4ae8cf85a3
Add time_and_date plugin. Use it for timezones and date formats around the bot. 2020-08-19 00:19:12 +03:00
Dragory
c67a1df11d
Add support for server-specific timezone and date format settings 2020-08-10 00:24:06 +03:00
Dragory
106a959b4d
Add new multi-use !info command 2020-08-06 01:10:40 +03:00
Dragory
ae1b749169
Remove embed color from !server 2020-08-05 22:03:56 +03:00
Dragory
6118639dd3
Update !server embed to be consistent with !invite embed 2020-08-05 22:01:29 +03:00
Dragory
6f30356065
Rename serverInfo() abstraction to getServerInfoEmbed()
Consistent with getUserInfoEmbed()
2020-08-05 17:40:24 +03:00
Renamed from backend/src/plugins/Utility/functions/serverInfo.ts (Browse further)