mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
Fix
This commit is contained in:
@@ -114,7 +114,7 @@ module.exports = class BlackjackCommand extends Command {
|
||||
}
|
||||
|
||||
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();
|
||||
hand.push(card);
|
||||
return card;
|
||||
|
||||
Reference in New Issue
Block a user