mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
Fix
This commit is contained in:
@@ -57,7 +57,7 @@ module.exports = class PhoneCall {
|
|||||||
await this.origin.send('☎️ No voicemail will be left.');
|
await this.origin.send('☎️ No voicemail will be left.');
|
||||||
} else {
|
} else {
|
||||||
await this.origin.send('☎️ Please leave your message (max 280 characters) after the beep. _Beep_.');
|
await this.origin.send('☎️ Please leave your message (max 280 characters) after the beep. _Beep_.');
|
||||||
const voicemail = await this.origin.awaitMessages(res => res.content && res.content.length >= 280, {
|
const voicemail = await this.origin.awaitMessages(res => res.content && res.content.length <= 280, {
|
||||||
time: 30000,
|
time: 30000,
|
||||||
max: 1
|
max: 1
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user