mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 08:14:47 +02:00
Fix
This commit is contained in:
@@ -88,7 +88,6 @@ module.exports = class AkinatorCommand extends Command {
|
|||||||
`**${aki.currentStep + 1}.** ${aki.question} (${Math.round(Number.parseInt(aki.progress, 10))}%)`,
|
`**${aki.currentStep + 1}.** ${aki.question} (${Math.round(Number.parseInt(aki.progress, 10))}%)`,
|
||||||
{ components: [row, sRow] }
|
{ components: [row, sRow] }
|
||||||
);
|
);
|
||||||
let buttonPress;
|
|
||||||
try {
|
try {
|
||||||
buttonPress = await gameMsg.awaitMessageComponent({
|
buttonPress = await gameMsg.awaitMessageComponent({
|
||||||
filter: res => res.user.id === msg.author.id,
|
filter: res => res.user.id === msg.author.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user