Commit graph

157 commits

Author SHA1 Message Date
JandereDev
3c45dd110c
Merge branch 'master' of https://github.com/janderedev/automod 2022-07-19 19:46:34 +02:00
JandereDev
fe44bb04b4
edit /purge syntax 2022-07-19 19:45:57 +02:00
Jan
fcfe5ea667
check colors on discord embeds 2022-07-18 20:14:05 +02:00
Jan
14f7d37c71
allow loading spam detection module
Co-authored-by: Martin Löffler <contact@fatalerrorcoded.eu>
2022-07-17 13:18:34 +02:00
Jan
b986f1c585
create database indexes 2022-07-16 20:25:13 +02:00
Jan
2f7cfae050
use theme colors for embeds 2022-07-16 14:41:56 +02:00
JandereDev
22cbf57241
upgrade docker images to node 18, fix docker issue 2022-07-16 09:22:58 +02:00
JandereDev
50f0a88747
afjndsifbjafks 2022-07-15 18:03:51 +02:00
JandereDev
50c8e30ea5
fix docker builds i think 2022-07-15 17:57:40 +02:00
JandereDev
db6603ebba
update lockfile 2022-07-15 17:45:04 +02:00
JandereDev
fc740b1795
minor changes
(added redis and made the bot actually functional again)
2022-07-15 17:38:13 +02:00
JandereDev
74a27ee00e
update dockerfiles 2022-07-12 18:07:17 +02:00
JandereDev
fe62ee88cd
start moving types into shared library 2022-07-09 09:45:15 +02:00
JandereDev
5223456264
set up local package for shared code 2022-07-09 09:08:16 +02:00
JandereDev
a5b7ce4d49
fix builds 2022-07-09 07:18:03 +02:00
JandereDev
b8f66a6aa6
update lockfiles and gitignores 2022-07-01 18:15:21 +02:00
JandereDev
8aa608ebaf
update to yarn berry 2022-06-30 20:14:38 +02:00
snyk-bot
20c396f5a5
fix: bot/package.json & bot/yarn.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-UNDICI-2928996
2022-06-18 00:13:00 +00:00
Jan
cbde4e4c40
woops lol 2022-06-10 23:49:46 +02:00
Jan
bc10c3d014
support iframing dashboard 2022-06-10 23:32:53 +02:00
JandereDev
ad353463a6
allow configuring warn/kick/ban DMs + contact info
(someone needs to refactor the hot mess that is ServerDashboard.tsx aaa)
2022-05-28 14:56:13 +02:00
JandereDev
5546ec3c59
option to DM users on kick/ban/warn 2022-05-28 14:00:22 +02:00
JandereDev
7cee4638a9
u p g r a d e /kick command 2022-05-28 12:46:27 +02:00
JandereDev
15de79fce7
add /bridge status on rolt 2022-05-27 18:40:04 +02:00
JandereDev
f32f5193e7
fix typo 2022-05-24 09:05:03 +02:00
JandereDev
a29732b00e
Merge branch 'master' of https://github.com/janderedev/automod 2022-05-24 07:33:54 +02:00
JandereDev
96a0d2b7c8
fix: make /ban ignore target input when targetting by reply 2022-05-24 07:33:20 +02:00
Jan
db88b94fee log bulk deletes in message log 2022-05-22 19:39:07 +02:00
Jan
587e35b44e fix: make /purge use bulk delete route 2022-05-22 18:24:18 +02:00
Jan
94f94d4e53 bump deps 2022-05-22 18:21:35 +02:00
Jan
0fe7496e90 use embeds for mod logs 2022-05-22 17:47:22 +02:00
JandereDev
9b3eaa6752
Merge branch 'master' of https://github.com/janderedev/automod 2022-05-11 15:15:56 +02:00
JandereDev
79c5fcab71
fixed /pfp and /nick 2022-05-11 15:15:38 +02:00
janderedev
53da0f4dbe
Merge branch 'master' of https://github.com/janderedev/automod 2022-05-08 12:29:48 +02:00
janderedev
469fa259f8
updated ban command 2022-05-08 12:29:16 +02:00
janderedev
98be31dd64
various fixes
- get rid of userscan
- cannot fetch mutual servers from api anymore
- minor fixes
2022-05-08 12:26:58 +02:00
JandereDev
69e7459939
Revert "workaround for revoltchat/revite#609"
This reverts commit 42cb2d7f59.
2022-05-08 10:47:27 +02:00
JandereDev
42cb2d7f59
workaround for revoltchat/revite#609 2022-05-08 09:14:11 +02:00
janderedev
1249568f4d
added a cool startup message 2022-05-06 21:50:51 +02:00
janderedev
ecef27f1e6
restructure commands 2022-05-03 14:52:07 +02:00
janderedev
d4a41b7ba1
bump revolt.js 2022-05-03 14:17:59 +02:00
JandereDev
57f3b9c9fb
use message ratelimiter 2022-05-03 07:53:42 +02:00
janderedev
3f0a1cbd01
upgrade /warn 2022-05-02 22:46:00 +02:00
Sophie L
c00297adfc chore: specify package manager for corepack 2022-05-01 20:53:17 +00:00
janderedev
a18a0f9c65
add /bridge info command 2022-04-30 23:14:48 +02:00
janderedev
b65a1bd70c
add missing permission warning to bridge setup 2022-04-30 22:38:16 +02:00
janderedev
0917a476fc
compat with revolt.js 6.0 2022-04-30 15:57:37 +02:00
janderedev
55504e3071
allow changing api url 2022-04-30 11:25:24 +02:00
janderedev
f2a25f8af4
e n h a n c e /debug command 2022-04-26 14:34:33 +02:00
janderedev
129891e272
target es2020 2022-04-26 14:34:11 +02:00
janderedev
63973902b2
wtf 2022-04-24 14:19:33 +02:00
janderedev
96446b3e1d
make bridge user configurable 2022-04-24 13:48:42 +02:00
janderedev
45a9021832
add global blacklist reasons 2022-04-10 15:44:54 +02:00
Jan
d7e52b1756
nvm 2022-04-10 10:20:57 +02:00
Jan
6e825f68d7
Update purge.ts 2022-04-10 10:03:02 +02:00
janderedev
db3d9391fd
global blacklist 2022-04-09 22:43:36 +02:00
janderedev
88214057e5
:D 2022-04-09 17:55:03 +02:00
janderedev
b1612824dd
disable sudo alert on antispam rules, add trycatch 2022-04-09 17:42:59 +02:00
janderedev
3b64fbb587
hm 2022-04-09 17:25:27 +02:00
janderedev
026b81645f
add bot status, fetch all users on startup 2022-04-09 14:38:27 +02:00
janderedev
7a7ffcc805
add /avatar and /nick 2022-04-09 13:45:51 +02:00
janderedev
a06c3547fb
refactoring 2022-04-09 13:03:12 +02:00
JandereDev
0b278a6ae2
bridging embeds 2022-04-07 10:55:50 +02:00
janderedev
c9991733a2
h 2022-04-04 20:29:46 +02:00
janderedev
084b357e20
el refactor part 1 2022-04-04 17:01:18 +02:00
janderedev
c334c31dd2
fix /logout all not working 2022-03-24 16:15:22 +01:00
janderedev
6cb3c0a71d
readme 2022-03-23 20:31:57 +01:00
janderedev
03b2ec5f66
add /stats API endpoint 2022-03-23 20:13:43 +01:00
janderedev
801f0263b3
last commit but unironically 2022-03-19 21:41:52 +01:00
janderedev
1c34be948a
fix automod rules not working on empty channel arr 2022-03-19 21:16:21 +01:00
janderedev
9a94e84b54
fix typo 2022-03-19 11:42:10 +01:00
janderedev
471f013404
NO 2022-03-17 00:10:04 +01:00
janderedev
117e3b0f12
WIP votekick 2022-03-16 23:55:50 +01:00
janderedev
e26803a17c
who put a timeout here 2022-03-16 21:58:25 +01:00
janderedev
f8a001f4da
troll 74 2022-03-16 21:54:09 +01:00
janderedev
6c83a41d82
link to server settings in /help 2022-03-16 21:50:35 +01:00
janderedev
c786adbf28
remove duplicate @ on ban message 2022-03-16 17:49:08 +01:00
janderedev
ad5ca98091
/eject => /ban 2022-03-15 22:21:10 +01:00
janderedev
e622914f19
allow banning unknown users by ID lol 2022-03-15 22:13:14 +01:00
janderedev
cfe57a5237
implement inserts proposal 2022-03-15 17:19:17 +01:00
JandereDev
50bd8e1c06
woops again 2022-03-02 16:30:58 +01:00
JandereDev
284343f156
fuck me 2022-03-02 16:22:20 +01:00
JandereDev
d62f8882d0
fix revoltjs version 2022-03-02 16:17:50 +01:00
JandereDev
835d16fc84
bump revolt.js 2022-03-02 12:54:01 +01:00
janderedev
2e25e49e07
Merge branch 'master' of https://github.com/janderedev/automod 2022-02-12 16:50:45 +01:00
janderedev
43d136a967
make commands_executed metric return labels 2022-02-12 16:50:44 +01:00
dependabot[bot]
f80566f2f5
Bump follow-redirects from 1.14.7 to 1.14.8 in /bot
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 15:08:14 +00:00
janderedev
69f05dc184
make ping metric not rely on system time 2022-02-12 15:34:55 +01:00
janderedev
75ad95a357
add basic prometheus metrics 2022-02-12 15:25:24 +01:00
janderedev
5efcfba5c1
make /settings actually respond 2022-02-12 14:26:33 +01:00
JandereDev
7cf3553026
little authentication overhaul 2022-02-07 09:02:46 +01:00
JandereDev
8b877f4740
fix permission thingy 2022-02-06 12:02:26 +01:00
dependabot[bot]
c28c7bff7a
Bump node-fetch from 2.6.6 to 2.6.7 in /bot
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-06 10:22:41 +00:00
JandereDev
99d80da72a
add shitty ratelimiting 2022-02-05 22:46:50 +01:00
JandereDev
ea5a72b837
Merge branch 'master' into web 2022-02-05 20:25:35 +01:00
JandereDev
0aa6134d72
dockerize everything, prepare for deployment 2022-02-05 20:17:00 +01:00
JandereDev
860b816136
add antispam settings to dashboard, various fixes
also switched to revolt.js fork
2022-02-05 15:59:45 +01:00
janderedev
27a984fecc
bump rolt.js 2022-01-25 22:50:53 +01:00
JandereDev
3b4d653132
fixed command category 2022-01-25 19:44:53 +01:00
JandereDev
0e4667a298
add/remove bot managers and mods from dashboard 2022-01-25 19:44:39 +01:00