mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 21:40:51 +02:00
Beep
This commit is contained in:
@@ -21,7 +21,7 @@ module.exports = class AkinatorCommand extends Command {
|
|||||||
let ans = null;
|
let ans = null;
|
||||||
this.sessions.set(msg.channel.id, {
|
this.sessions.set(msg.channel.id, {
|
||||||
progress: null,
|
progress: null,
|
||||||
step: null
|
step: 0
|
||||||
});
|
});
|
||||||
while (this.sessions.get(msg.channel.id).progress < 99 && ++this.sessions.get(msg.channel.id).step <= 80) {
|
while (this.sessions.get(msg.channel.id).progress < 99 && ++this.sessions.get(msg.channel.id).step <= 80) {
|
||||||
const data = ans === null ? await this.createSession(msg.channel) : await this.progress(msg.channel, ans);
|
const data = ans === null ? await this.createSession(msg.channel) : await this.progress(msg.channel, ans);
|
||||||
|
|||||||
Reference in New Issue
Block a user