Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

243
Views
Try to add a row of emojis to discord server using discord.js

I can add an emoji to a discord server by this code but how can i add a row of emojis at once to this discord server?

         const emoticon = require('discord.js').Util.parseEmoji("EMOJI");

         if(emoticon.id == null) return message.channel.send('I could not find this emoji!');
         if(message.guild.emojis.cache.has(emoticon.id)) return message.reply("That emoji is already on the server")

         const emoji = `https://cdn.discordapp.com/emojis/${emoticon.id}.${emoticon.animated  ? 'gif' : 'png'}`

         try {
         message.guild.emojis.create(emoji, emoticon.name || 'Emoji')

         await message.reply(`Successfully added \`${emoticon.name}\` emoji to this server!`)
         }catch(error){
           return message.channel.send(`An error has occurred ${error}`)

like what if this EMOJI is EMOJI_1 EMOJI_2 EMOJI_3

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!