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

default include_moves to false

This commit is contained in:
almeidx 2021-08-14 16:26:42 +01:00
parent dcbe8c9eb2
commit 9c437a9a98
No known key found for this signature in database
GPG key ID: C5FF0C40763546C5
2 changed files with 6 additions and 2 deletions

View file

@ -12,7 +12,9 @@ export const JoinVoiceChannelTrigger = automodTrigger<JoinVoiceChannelResult>()(
include_moves: t.boolean, include_moves: t.boolean,
}), }),
defaultConfig: {}, defaultConfig: {
include_moves: false,
},
async match({ triggerConfig, context }) { async match({ triggerConfig, context }) {
const matchedChannelId = context.voiceChannel?.joined?.id; const matchedChannelId = context.voiceChannel?.joined?.id;

View file

@ -12,7 +12,9 @@ export const LeaveVoiceChannelTrigger = automodTrigger<LeaveVoiceChannelResult>(
include_moves: t.boolean, include_moves: t.boolean,
}), }),
defaultConfig: {}, defaultConfig: {
include_moves: false,
},
async match({ triggerConfig, context }) { async match({ triggerConfig, context }) {
const matchedChannelId = context.voiceChannel?.left?.id; const matchedChannelId = context.voiceChannel?.left?.id;