botvX_mjs/commands/verify.mjs

22 lines
644 B
JavaScript
Raw Normal View History

import { getMessage } from '../util/lang.mjs'
export default {
2024-08-12 04:33:43 -04:00
execute: (c) => {
const permsN = getMessage(c.lang, 'command.help.permsNormal')
const permsT = getMessage(c.lang, 'command.help.permsTrusted')
const permsO = getMessage(c.lang, 'command.help.permsOwner')
const permsC = getMessage(c.lang, 'command.help.permsConsole')
c.reply({
translate: getMessage(c.lang, 'command.verify.success'),
color: c.colors.secondary,
with: [
{
text: [permsN, permsT, permsO, permsC][c.verify],
color: c.colors.primary
}
]
})
},
aliases: ['validate'],
level: 1
}