ccprojects commited on
Commit
f5cfcf0
Β·
verified Β·
1 Parent(s): 1835f3c

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -29,7 +29,7 @@ async function fetchVotes() {
29
  }
30
 
31
  function formatPlace(index) {
32
- const emoji = ['<:1stplace:1389968087670980748> 1st', '<:2ndplace:1389967997149647010> 2nd', '<:3rdplace:1389968298569109565> 3rd', '<:4thplace:1389968392504610916> 4th']
33
  return index < 4 ? emoji[index] : `${index + 1}th`
34
  }
35
 
@@ -41,7 +41,7 @@ function createEmbed(data, ended) {
41
  }))
42
  const time = new Date().toLocaleString('en-US', { timeZone: 'Asia/Manila' })
43
  return new EmbedBuilder()
44
- .setTitle(ended ? 'πŸ“Š Final Vote Result' : '<:infolevel:1373653092758982687> Live Vote Status for **Power Gauntlet**')
45
  .addFields(fields)
46
  .setColor(ended ? 0xff5555 : 0x00ffff)
47
  .setFooter({ text: `Updated the vote at ${time} | Today` })
 
29
  }
30
 
31
  function formatPlace(index) {
32
+ const emoji = ['πŸ₯‡ 1st', 'πŸ₯ˆ 2nd', 'πŸ₯‰ 3rd', 'πŸ… 4th']
33
  return index < 4 ? emoji[index] : `${index + 1}th`
34
  }
35
 
 
41
  }))
42
  const time = new Date().toLocaleString('en-US', { timeZone: 'Asia/Manila' })
43
  return new EmbedBuilder()
44
+ .setTitle(ended ? 'πŸ“Š Final Vote Result' : 'πŸ“Š Live Vote Status for **Power Gauntlet**')
45
  .addFields(fields)
46
  .setColor(ended ? 0xff5555 : 0x00ffff)
47
  .setFooter({ text: `Updated the vote at ${time} | Today` })