Commit a7c831c1 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent aeead253
......@@ -164,7 +164,7 @@ async function showCount(msg, unit) {
let admin = await db.findAdmin(msg)
admin.data = JSON.parse(admin.data)
let type = admin.data.action
console.log(admin.data)
// console.log(admin.data)
admin.data.vahed = unit
await db.updateData(msg, JSON.stringify(admin.data))
......@@ -355,7 +355,7 @@ async function reportRequest(msg, date) {
break
}
let reqs = await db.getRequestByDate(msg.data, date)
console.log(reqs)
// console.log(reqs)
message.deleteMessage(bot, msg)
message.listRequest(bot, msg, reqs)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment