Ajout des alias pour les commandes existantes

This commit is contained in:
Tutur33
2024-02-17 13:33:46 +01:00
parent aa1811a9f1
commit 5a15326eba
67 changed files with 146 additions and 5 deletions
+2
View File
@@ -2,10 +2,12 @@ const choices = ["pierre", "papier", "ciseaux"];
module.exports = {
name: 'pfc',
aliases: ['pierre-papier-ciseaux', 'shifumi', 'pierrepapierciseaux', 'rockpaperscissors', 'rock-paper-scissors'],
description: 'Jouer à pierre-papier-ciseaux',
emote: '✊',
utilisation: 'pfc',
category: 'game',
async execute(message, args) {
const userChoice = args[0];
const botChoice = choices[Math.floor(Math.random() * choices.length)];