mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
Fix
This commit is contained in:
@@ -80,13 +80,13 @@ module.exports = class HearingTestCommand extends Command {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (age === 'all') {
|
if (age === 'all') {
|
||||||
return buttonPress.update({
|
return gameMsg.edit({
|
||||||
content: 'Everyone should be able to hear that. You cannot hear.',
|
content: 'Everyone should be able to hear that. You cannot hear.',
|
||||||
components: []
|
components: []
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (age === 'max') {
|
if (age === 'max') {
|
||||||
return buttonPress.update({
|
return gameMsg.edit({
|
||||||
content: stripIndents`
|
content: stripIndents`
|
||||||
You can hear any frequency of which a human is capable.
|
You can hear any frequency of which a human is capable.
|
||||||
The maximum frequency you were able to hear was **${range}000hz**.
|
The maximum frequency you were able to hear was **${range}000hz**.
|
||||||
@@ -94,7 +94,7 @@ module.exports = class HearingTestCommand extends Command {
|
|||||||
components: []
|
components: []
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return buttonPress.update({
|
return gameMsg.edit({
|
||||||
content: stripIndents`
|
content: stripIndents`
|
||||||
You have the hearing of someone **${Number.parseInt(age, 10) + 1} or older**.
|
You have the hearing of someone **${Number.parseInt(age, 10) + 1} or older**.
|
||||||
The maximum frequency you were able to hear was **${range}000hz**.
|
The maximum frequency you were able to hear was **${range}000hz**.
|
||||||
|
|||||||
Reference in New Issue
Block a user