mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-23 09:35:02 +00:00
Update backend/src/plugins/Automod/actions/crosspostMessage.ts
Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
5b73253962
commit
9282f3834c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ export const CrosspostMessageAction = automodAction({
|
||||||
configType: t.type({}),
|
configType: t.type({}),
|
||||||
defaultConfig: {},
|
defaultConfig: {},
|
||||||
|
|
||||||
async apply({ pluginData, contexts, actionConfig }) {
|
async apply({ pluginData, contexts }) {
|
||||||
const messages = contexts
|
const messages = contexts
|
||||||
.filter(c => c.message?.id)
|
.filter(c => c.message?.id)
|
||||||
.map(c => {
|
.map(c => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue