mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-21 13:55:06 +02:00
Ajout des alias pour les commandes existantes
This commit is contained in:
@@ -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)];
|
||||
|
||||
Reference in New Issue
Block a user