abwuiowjfao

This commit is contained in:
7cc5c4f330d47060 2025-02-12 15:09:09 -05:00
parent 203e0025ad
commit fffbb1938e
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA

View file

@ -10,6 +10,7 @@ const execute = (c) => {
c.reply({
text: getMessage(c.lang, 'command.cloop.error.tooShort')
})
return
}
c.bot.addCloop(command, rate)
c.reply({
@ -29,14 +30,13 @@ const execute = (c) => {
break
}
case 'remove': {
const index = +c.args[0]
c.bot.removeCloop(c.args[0])
c.reply({
translate: getMessage(c.lang, 'command.cloop.success.remove'),
color: c.colors.secondary,
with: [
{
text: index + '',
text: c.args[0],
color: c.colors.primary
}
]