mirror of
https://github.com/arthur-pbty/gestion-perso.git
synced 2026-06-03 15:07:27 +02:00
25 lines
621 B
TypeScript
25 lines
621 B
TypeScript
const { Slots } = require('discord-gamecord');
|
|
import { Message } from "discord.js";
|
|
|
|
module.exports = {
|
|
aliases: ['slotmachine'],
|
|
description: 'Jouer au jeu Slot',
|
|
emote: '🎰',
|
|
utilisation: '',
|
|
|
|
async execute(message: Message) {
|
|
const Game = new Slots({
|
|
message: message,
|
|
isSlashGame: false,
|
|
embed: {
|
|
title: 'Slot Machine',
|
|
color: '#5865F2'
|
|
},
|
|
slots: ['🍇', '🍊', '🍋', '🍌']
|
|
});
|
|
|
|
Game.startGame();
|
|
Game.on('gameOver', (result: any) => {
|
|
});
|
|
},
|
|
}; |