botv12/commands/validate.js

22 lines
569 B
JavaScript
Raw Normal View History

2024-11-20 01:34:57 -05:00
import { getMessage } from '../util/lang.js'
2024-11-20 01:35:16 -05:00
const 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')
c.reply({
translate: getMessage(c.lang, 'command.verify.success'),
color: c.colors.secondary,
with: [
{
text: [permsN, permsT, permsO][c.verify],
color: c.colors.primary
}
]
})
}
const aliases = ['verify']
const level = 1
2024-11-20 01:34:57 -05:00
2024-11-20 01:35:16 -05:00
export { execute, aliases, level }