3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-23 01:25:02 +00:00

Update backend/src/plugins/Automod/actions/crosspostMessage.ts

Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
metal 2021-09-08 11:40:02 +01:00 committed by GitHub
parent 5b73253962
commit 9282f3834c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ export const CrosspostMessageAction = automodAction({
configType: t.type({}),
defaultConfig: {},
async apply({ pluginData, contexts, actionConfig }) {
async apply({ pluginData, contexts }) {
const messages = contexts
.filter(c => c.message?.id)
.map(c => {