Compare commits

..

No commits in common. "c57811c9f67e704b2f6357531ffada7eef4c4f4d" and "bfad9fc0b22122881fa24366844d30bfacf705d7" have entirely different histories.

2 changed files with 2 additions and 19 deletions

View File

@ -1,17 +0,0 @@
import { QueryInterface, DataTypes } from "sequelize";
module.exports = {
up: (queryInterface: QueryInterface) => {
return queryInterface.changeColumn("SettingTickets", "message", {
type: DataTypes.STRING(3000),
allowNull: true
});
},
down: (queryInterface: QueryInterface) => {
return queryInterface.changeColumn("SettingTickets", "message", {
type: DataTypes.STRING,
allowNull: true
});
}
};

View File

@ -438,7 +438,7 @@ const _clear_lst = () => {
}; };
const handleMessage = async (msg: any, wbot: any): Promise<void> => { const handleMessage = async (msg: any, wbot: any): Promise<void> => {
// if (!msg.fromMe) { if (!msg.fromMe) {
_clear_lst(); _clear_lst();
let index = lst.findIndex((x: any) => x.id == msg.id.id); let index = lst.findIndex((x: any) => x.id == msg.id.id);
@ -459,7 +459,7 @@ const handleMessage = async (msg: any, wbot: any): Promise<void> => {
// console.log('LIST OF ID MESSAGE lst: ', lst) // console.log('LIST OF ID MESSAGE lst: ', lst)
// } }
if (!isValidMsg(msg)) { if (!isValidMsg(msg)) {
return; return;