Added uuid command and function to format uuids
This commit is contained in:
5
utils/functions/uuid.js
Normal file
5
utils/functions/uuid.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function formatUuid(uuid) {
|
||||
return uuid.replace(/(.{8})(.{4})(.{4})(.{4})(.{12})/, '$1-$2-$3-$4-$5')
|
||||
}
|
||||
|
||||
module.exports = { formatUuid }
|
||||
@@ -1,6 +1,7 @@
|
||||
const { skywarsLevel } = require('./functions/skywars.js')
|
||||
const { bedwarsLevel } = require('./functions/bedwars.js')
|
||||
const { hypixelLevel } = require('./functions/hypixel.js')
|
||||
const { formatUuid } = require('./functions/uuid.js')
|
||||
const { guildLevel, scaledGEXP } = require('./functions/guild.js')
|
||||
const { getUUID, getIGN, getPlayer, getGuild, getHeadURL } = require('./functions/account.js')
|
||||
|
||||
@@ -14,5 +15,6 @@ module.exports = {
|
||||
getIGN,
|
||||
getPlayer,
|
||||
getGuild,
|
||||
getHeadURL
|
||||
getHeadURL,
|
||||
formatUuid
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user