mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 10:45:27 +00:00
don't say "undefined"
This commit is contained in:
parent
38bd64cbc2
commit
9685bc5608
|
@ -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