mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 22:34:46 +02:00
Fix
This commit is contained in:
@@ -114,7 +114,7 @@ module.exports = class BlackjackCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
draw(channel, hand) {
|
draw(channel, hand) {
|
||||||
const { deck } = this.client.games.get(channel.id).data;
|
const deck = this.client.games.get(channel.id).data;
|
||||||
const card = deck.draw();
|
const card = deck.draw();
|
||||||
hand.push(card);
|
hand.push(card);
|
||||||
return card;
|
return card;
|
||||||
|
|||||||
Reference in New Issue
Block a user