Skip to content

Commit

Permalink
Update main-feature.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Guru322 authored Oct 30, 2023
1 parent e24fb90 commit 9bb4758
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/main-feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import fetch from 'node-fetch'
import moment from 'moment-timezone'
let handler = async (m, { conn, text, usedPrefix, command }) => {
let who = m.mentionedJid && m.mentionedJid[0] ? m.mentionedJid[0] : m.fromMe ? conn.user.jid : m.sender
let pp = await conn.profilePictureUrl(who).catch(_ => hwaifu.getRandom())
let name = await conn.getName(who)
let totalf = Object.values(global.plugins).filter(
(v) => v.help && v.tags
Expand All @@ -29,4 +28,4 @@ let txt = `*乂 B O T - F E A T U R E*\n\n`
handler.help = ['totalfeature']
handler.tags = ['main']
handler.command = /^(feature|totalfeature)$/i
export default handler
export default handler

0 comments on commit 9bb4758

Please sign in to comment.