mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +02:00
Fix
This commit is contained in:
@@ -31,7 +31,7 @@ module.exports = class TarotCommand extends Command {
|
|||||||
try {
|
try {
|
||||||
const deck = new TarotDeck();
|
const deck = new TarotDeck();
|
||||||
const cards = deck.draw(3);
|
const cards = deck.draw(3);
|
||||||
for (let i = 0; i > cards.length; i++) {
|
for (let i = 0; i < cards.length; i++) {
|
||||||
const card = cards[i];
|
const card = cards[i];
|
||||||
await msg.say(stripIndents`
|
await msg.say(stripIndents`
|
||||||
Your ${displayNums[i]} card is **${card.name}**.
|
Your ${displayNums[i]} card is **${card.name}**.
|
||||||
|
|||||||
Reference in New Issue
Block a user