Skip to content

Commit

Permalink
𝚁𝙴𝙼𝙲𝙷𝙰𝙼 𝙱𝚈 𝙶𝙰𝙱𝚁𝙸𝙴𝙻 - 𝙹𝚃𝚇𝚂
Browse files Browse the repository at this point in the history
  • Loading branch information
AleXD0009 authored Aug 2, 2024
1 parent 97290d1 commit a200233
Showing 1 changed file with 6 additions and 25 deletions.
31 changes: 6 additions & 25 deletions plugins/main-menu.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
import {
promises,
readFileSync
} from "fs"
import {
join
} from "path"
import {
xpRange
} from "../lib/levelling.js"
import { promises, readFileSync } from "fs"
import { join } from "path"
import { xpRange } from "../lib/levelling.js"
import moment from "moment-timezone"
import os from "os"

Expand Down Expand Up @@ -533,20 +526,8 @@ const handler = async (m, {
let tag = `@${m.sender.split("@")[0]}`
let mode = global.opts["self"] ? "Private" : "Public"

let {
age,
exp,
limit,
level,
role,
registered,
credit
} = glb[m.sender]
let {
min,
xp,
max
} = xpRange(level, global.multiplier)
let { age, exp, limit, level, role, registered, credit } = glb[m.sender]
let { min, xp, max } = xpRange(level, global.multiplier)
let name = await conn.getName(m.sender)
let premium = glb[m.sender].premiumTime
let prems = `${premium > 0 ? "Premium": "Free"}`
Expand Down Expand Up @@ -656,7 +637,7 @@ const { result, key, timeout } = await conn.sendMessage(
},
forwardingScore: 999,
externalAdReply: {
title: 'REM-BOT',
title: global.botname,
body: '𝙼𝙴𝙽𝚄',
thumbnailUrl: 'https://i.pinimg.com/736x/59/47/a8/5947a86d35bdb1205781422d7cf9d4ed.jpg',
sourceUrl: 'https://github.com/davidprospero123/REM-CHAM-MD.git',
Expand Down

0 comments on commit a200233

Please sign in to comment.