Save globalPrefix in the settings map
All checks were successful
CI / CI (push) Successful in 1m23s

This commit is contained in:
SileNce5k 2025-06-09 21:47:37 +02:00
parent ba99719c20
commit e92210e856
Signed by: SileNce
GPG key ID: B0A142BB4291B204
3 changed files with 6 additions and 5 deletions

View file

@ -2,7 +2,7 @@ const getGuildInfo = require("./getGuildInfo")
const parseMS = require('./parseMS');
const convertDateToISOString = require('./convertDateToISOString')
module.exports = function ({presenceText, presenceType, client}) {
const {globalPrefix} = require ('../data/config.json')
const globalPrefix = client.settings.get("globalPrefix")
const guildInfo = getGuildInfo(client);
let uptime = parseMS(client.uptime);
let uptimeFormat = "";