mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2026-01-15 08:12:22 -06:00
fix: delay option
This commit is contained in:
@@ -178,11 +178,15 @@ export default {
|
|||||||
this.error = false;
|
this.error = false;
|
||||||
|
|
||||||
var messagesId = [];
|
var messagesId = [];
|
||||||
|
const messageConfig = this.message;
|
||||||
|
|
||||||
|
messageConfig.options.delay = parseInt(messageConfig.options.delay);
|
||||||
|
|
||||||
for (const number of this.numbers) {
|
for (const number of this.numbers) {
|
||||||
const r = await instanceController.chat.sendMessage(
|
const r = await instanceController.chat.sendMessage(
|
||||||
this.instance.instance.instanceName,
|
this.instance.instance.instanceName,
|
||||||
{
|
{
|
||||||
...this.message,
|
...messageConfig,
|
||||||
number,
|
number,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user