mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-12 15:55:44 +02:00
upgrade roll commande
This commit is contained in:
@@ -104,8 +104,10 @@ module.exports = {
|
||||
}
|
||||
|
||||
let gain = 0;
|
||||
if (((args[1] === 'rouge' || args[1] === 'red') && colorR === 'rouge') || ((args[1] === 'noir' || args[1] === 'black') && colorR === 'noir') || ((args[1] === 'vert' || args[1] === 'green') && colorR === 'vert')) {
|
||||
if (((args[1] === 'rouge' || args[1] === 'red') && colorR === 'rouge') || ((args[1] === 'noir' || args[1] === 'black') && colorR === 'noir')) {
|
||||
gain = args[0] * 2;
|
||||
} else if ((args[1] === 'vert' || args[1] === 'green') && colorR === 'vert') {
|
||||
gain = args[0] * 36;
|
||||
} else {
|
||||
gain = 0-args[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user