Skip to content

Commit

Permalink
Update teach_mzk.js
Browse files Browse the repository at this point in the history
  • Loading branch information
manhkhac authored Feb 8, 2022
1 parent ac5460c commit cd25b7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules_new_2022/teach_mzk.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ module.exports.handleReply = async({ api, event, Users, handleReply }) => {
global.client.handleReply.splice(global.client.handleReply.indexOf(handleReply), 1);
api.unsendMessage(handleReply.messageID);
let c = content;
let res = await axios.get(encodeURI(`http://mzkapi.me/sim?type=teach&ask=${c.ask}&ans=${c.ans}&by=${by_name}&apikey=${API_KEY}`));
let res = await axios.get(encodeURI(`http://manhict.tech/sim?type=teach&ask=${c.ask}&ans=${c.ans}&by=${by_name}&apikey=${API_KEY}`));
if (res.data.error) return send(`${res.data.error}`);
send(`Dạy sim thành công, previews:\n\n🤤Data:\n${c.ask} -> ${c.ans}\n🙇‍♂️Người dạy sim:\n${by_name}\n⏱Time: ${timeZ}`);
break;
default:
break;
}
}
}

0 comments on commit cd25b7a

Please sign in to comment.