mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 15:57:47 +02:00
Fix
This commit is contained in:
@@ -47,7 +47,7 @@ module.exports = class WizardConventionCommand extends Command {
|
|||||||
user: message.author,
|
user: message.author,
|
||||||
role: roles[i - 1]
|
role: roles[i - 1]
|
||||||
});
|
});
|
||||||
await message.author.send(`Your role will be: ${roles[i]}!`);
|
await message.author.send(`Your role will be: ${roles[i - 1]}!`);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
let turn = 1;
|
let turn = 1;
|
||||||
@@ -83,7 +83,7 @@ module.exports = class WizardConventionCommand extends Command {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const display = eaten ? players.get(eaten).user : null;
|
const display = eaten ? players.get(eaten).user : null;
|
||||||
const story = stories[Math.floor(Math.random() * story.length)];
|
const story = stories[Math.floor(Math.random() * stories.length)];
|
||||||
if (eaten && eaten === healed) {
|
if (eaten && eaten === healed) {
|
||||||
await msg.say(stripIndents`
|
await msg.say(stripIndents`
|
||||||
Late last night, a dragon emerged and tried to eat ${display}${story}
|
Late last night, a dragon emerged and tried to eat ${display}${story}
|
||||||
|
|||||||
Reference in New Issue
Block a user