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:
parent
dcbe8c9eb2
commit
9c437a9a98
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue