owobot/commands/validate.js

21 lines
573 B
JavaScript
Raw Normal View History

2024-08-12 05:13:32 -04:00
const { getMessage } = require('../util/lang.js')
module.exports = {
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: [
{
2024-09-06 16:59:16 -04:00
text: [permsN, permsT, permsO][c.verify],
2024-08-12 05:13:32 -04:00
color: c.colors.primary
}
]
})
},
2024-08-23 10:07:21 -04:00
aliases: ['verify'],
2024-08-12 05:13:32 -04:00
level: 1
}