Skip to content

Commit

Permalink
fix typo 🌧
Browse files Browse the repository at this point in the history
  • Loading branch information
YogaSakti committed Nov 5, 2020
1 parent 2750c46 commit 9c6354f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/message/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { uploadImages } = require('../../utils/fetcher')

const { menuId, menuEn } = require('./text') // Indonesian & English menu

module.exports = msgHandler = async (client = new Client(), message) => {
module.exports = msgHandler = async (client, message) => {
try {
const { type, id, from, t, sender, isGroupMsg, chat, caption, isMedia, isGif, mimetype, quotedMsg, quotedMsgObj, mentionedJidList } = message
let { body } = message
Expand Down

0 comments on commit 9c6354f

Please sign in to comment.