mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 02:25:01 +00:00
remove defaults
Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
f84461a20d
commit
d5d2ea314e
1 changed files with 1 additions and 6 deletions
|
@ -16,12 +16,7 @@ export const ChangePermsAction = automodAction({
|
|||
channel: tNullable(t.string),
|
||||
perms: tPartialDictionary(t.keyof(Permissions.FLAGS), tNullable(t.boolean)),
|
||||
}),
|
||||
defaultConfig: {
|
||||
channel: "",
|
||||
perms: {
|
||||
SEND_MESSAGES: true,
|
||||
},
|
||||
},
|
||||
defaultConfig: {},
|
||||
|
||||
async apply({ pluginData, contexts, actionConfig, ruleName }) {
|
||||
const user = contexts.find((c) => c.user)?.user;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue