don't say "undefined"
This commit is contained in:
parent
38bd64cbc2
commit
9685bc5608
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ export default {
|
||||||
'Word filter',
|
'Word filter',
|
||||||
),
|
),
|
||||||
embed(
|
embed(
|
||||||
`**Enabled:** ${config?.wordlistEnabled}` + (!config?.wordlistEnabled
|
`**Enabled:** ${!!config?.wordlistEnabled}` + (!config?.wordlistEnabled
|
||||||
? ''
|
? ''
|
||||||
: `\n**Action:** ${config?.wordlistAction?.action ?? 'LOG'}\n` +
|
: `\n**Action:** ${config?.wordlistAction?.action ?? 'LOG'}\n` +
|
||||||
`**Warning message:** ${config?.wordlistAction?.message}\n` +
|
`**Warning message:** ${config?.wordlistAction?.message}\n` +
|
||||||
|
|
Loading…
Reference in a new issue