mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-15 00:02:50 +02:00
add perfect help commande
This commit is contained in:
@@ -3,6 +3,7 @@ const choices = ["pierre", "papier", "ciseaux"];
|
||||
module.exports = {
|
||||
name: 'pfc',
|
||||
description: 'Jouer à pierre-papier-ciseaux',
|
||||
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