fix: whitelist message

This commit is contained in:
2024-08-08 14:25:54 +03:00
parent 3804ea178b
commit dbfed5070e

View File

@@ -55,7 +55,7 @@ export async function manipulateWhitelist(
guild!,
type === 'channel' ? channel : undefined,
)
const suffix = `is **${whitelisted ? 'whitelisted' : 'not whitelisted'}** for commands.`
const suffix = `is **${whitelisted ? 'whitelisted' : 'not whitelisted'}** for ${prefix}.`
if (type === 'guild') {
return `The guild ${guild!.toString()} ${suffix}`
} else {