[fix] bot message on \!figurinha
This commit is contained in:
@@ -70,16 +70,16 @@ export async function processarComando(msg, chat, chatId) {
|
|||||||
await gerarSticker(msg, chatId);
|
await gerarSticker(msg, chatId);
|
||||||
} else {
|
} else {
|
||||||
if (stickerSessions.has(chatId)) {
|
if (stickerSessions.has(chatId)) {
|
||||||
return msg.reply("Já existe uma sessão ativa.");
|
return msg.reply(botMsg("Já existe uma sessão ativa."));
|
||||||
}
|
}
|
||||||
|
|
||||||
iniciarSessao(chatId, author);
|
iniciarSessao(chatId, author);
|
||||||
|
|
||||||
await msg.reply(
|
await msg.reply(botMsg(
|
||||||
`Sessão de figurinha iniciada por @${author.split("@")[0]}. Envie no máximo 10 imagens, quando estiver pronto mande \`!figurinha criar\``,
|
`Sessão de figurinha iniciada por @${author.split("@")[0]}. Envie no máximo 10 imagens, quando estiver pronto mande \`!figurinha criar\``,
|
||||||
null,
|
null,
|
||||||
{ mentions: [author] }
|
{ mentions: [author] }
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -1,25 +1,5 @@
|
|||||||
export const CLIENT_ID = "bot_permanente";
|
export const CLIENT_ID = "bot_permanente";
|
||||||
export const BOT_PREFIX = "🤖 *ManyBot:* ";
|
export const BOT_PREFIX = "🤖 *ManyBot:* ";
|
||||||
export const CHATS = [
|
export const CHATS = [
|
||||||
"120363154851081681@g.us", // notes
|
// coloque os chats que quer aqui
|
||||||
|
];
|
||||||
// My Little Pony Lovers
|
|
||||||
"120363312522727359@g.us", // Bate Papo
|
|
||||||
"120363400771484275@g.us", // Esquina do Torrão de Açucar
|
|
||||||
"120363390798163307@g.us", // Pony Games
|
|
||||||
"120363333043832020@g.us", // Biblioteca Carvalho Dourado
|
|
||||||
"120363323711786058@g.us", // Art Photos
|
|
||||||
"120363297816028907@g.us", // Mlp Chat
|
|
||||||
|
|
||||||
// ManeOS Community
|
|
||||||
"120363402117932687@g.us", // Internet Café
|
|
||||||
"120363403544066540@g.us", // Biblioteca
|
|
||||||
|
|
||||||
// Legends of Equestria
|
|
||||||
"120363400871896535@g.us", // WonderBolts
|
|
||||||
|
|
||||||
// Contatos
|
|
||||||
"5516994432546@c.us", // Isa
|
|
||||||
"5516994061112@c.us", // Diego
|
|
||||||
"111420763045901@lid" // Maryana
|
|
||||||
]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user