mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-25 06:33:04 +02:00
Add Game
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
const { Slots } = require('discord-gamecord');
|
||||
|
||||
module.exports = {
|
||||
name: 'slot',
|
||||
description: 'Jouer au jeu Slot',
|
||||
async execute(message, args) {
|
||||
const Game = new Slots({
|
||||
message: message,
|
||||
isSlashGame: false,
|
||||
embed: {
|
||||
title: 'Slot Machine',
|
||||
color: '#5865F2'
|
||||
},
|
||||
slots: ['🍇', '🍊', '🍋', '🍌']
|
||||
});
|
||||
|
||||
Game.startGame();
|
||||
Game.on('gameOver', result => {
|
||||
});
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user