mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-03 23:36:29 +02:00
Update set.js
This commit is contained in:
@@ -24,8 +24,8 @@ module.exports = {
|
||||
if (isNaN(args[0])) {
|
||||
title = 'Erreur';
|
||||
description = '❌ Veuillez entrer un montant valide.';
|
||||
} else if (args[0] <= 0) {
|
||||
title = 'Erreur';
|
||||
} else if (args[0] < 0) {
|
||||
title = 'Erreur'
|
||||
description = '❌ Veuillez entrer un montant supérieur à 0.';
|
||||
} else if (args[1] !== 'pocket' && args[1] !== 'bank' && args[1] !== 'reputation') {
|
||||
title = 'Erreur';
|
||||
|
||||
Reference in New Issue
Block a user