diff --git a/commands/General/report.js b/commands/General/report.js index f6e67634..7a3cbefb 100644 --- a/commands/General/report.js +++ b/commands/General/report.js @@ -86,14 +86,14 @@ class Report extends BaseCommand { ], }); - const success = parseEmoji(client.customEmojis.cool).id; - const error = parseEmoji(client.customEmojis.notcool).id; + const cool = parseEmoji(client.customEmojis.cool).id; + const notcool = parseEmoji(client.customEmojis.notcool).id; repChannel.send({ embeds: [embed], }).then(async m => { - await m.react(success); - await m.react(error); + await m.react(cool); + await m.react(notcool); }); interaction.success("general/report:SUCCESS", { diff --git a/commands/Moderation/poll.js b/commands/Moderation/poll.js index b670dd3b..c0648780 100644 --- a/commands/Moderation/poll.js +++ b/commands/Moderation/poll.js @@ -1,4 +1,4 @@ -const { SlashCommandBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle, PermissionsBitField } = require("discord.js"); +const { SlashCommandBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle, PermissionsBitField, parseEmoji } = require("discord.js"); const BaseCommand = require("../../base/BaseCommand"); class Poll extends BaseCommand { @@ -84,8 +84,8 @@ class Poll extends BaseCommand { }); } - const cool = client.emojis.cache.find(e => e.name === client.customEmojis.cool.split(":")[1]); - const notcool = client.emojis.cache.find(e => e.name === client.customEmojis.notcool.split(":")[1]); + const cool = parseEmoji(client.customEmojis.cool).id; + const notcool = parseEmoji(client.customEmojis.notcool).id; const embed = client.embed({ author: interaction.translate("moderation/poll:TITLE"), diff --git a/emojis.json b/emojis.json index 31d92b0f..6d4b5076 100644 --- a/emojis.json +++ b/emojis.json @@ -1,72 +1,31 @@ { - "To get access to these emojis,": "add your bot on https://discord.gg/5wrBEwE4bc", - - "stats": "<:atlanta_stats:598179382657286152>", - "ram": "<:atlanta_ram:598178809031688192>", - "version": "<:atlanta_version:598178475525931014>", - "online": "<:atlanta_online:598178166443474969>", - "link": "<:atlanta_link:598176933855100976>", - "voice": "<:atlanta_voice:598176518891372560>", - "add": "<:atlanta_add:598176235700355083>", - "help": "<:atlanta_help:598175335078559771>", - "warn": "<:atlanta_warn:598179558927106058>", - "error": "<:atlanta_error:736144198318686278>", - "success": "<:atlanta_success:736144092123234354>", - "loading": "", - "score": "<:atlanta_score:598175051216584744>", - "games": "<:atlanta_games:598174813860921344>", - "kills": "<:atlanta_kills:598174305599094784>", - "crown": "<:atlanta_crown:598174064183607317>", - "discriminator": "<:atlanta_discriminator:598173725497622539>", - "bot": "<:atlanta_bot:598173448543666187>", - "avatar": "<:atlanta_avatar:598173071567880192>", - "calendar": "<:atlanta_calendar:598172497912922123>", - "calendar2": "<:atlanta_calendar2:598172680889434132>", - "up": "<:atlanta_up:598171826052530196>", - "pencil": "<:atlanta_pencil:598171459960963083>", - "roles": "<:atlanta_roles:598171057345658910>", - "color": "<:atlanta_color:598170806413033472>", - "minecraft": "<:atlanta_minecraft:598170502963396620>", - "users": "<:atlanta_users:598170041510264843>", - "title": "<:atlanta_title:598169749935095818>", - "singer": "<:atlanta_singer:598169322266820630>", - "time": "<:atlanta_time:598169056125911040>", - "search": "<:atlanta_search:598168686162870283>", - "desc": "<:atlanta_desc:598168292993138689>", - "playlist": "<:atlanta_playlist:598167786195517440>", - "channels": "<:atlanta_channels:598166880271859712>", - "afk": "<:atlanta_afk:598164293598314496>", - "id": "<:atlanta_id:598162717232332811>", - "ip": "<:atlanta_ip:598161921329594368>", - "folder": "<:atlanta_folder:601019084468912129>", - "desc2": "<:atlanta_desc2:601019203721625640>", - "patreon": "<:atlanta_patreon:602163441083351051>", - "server": "<:atlanta_server:610825960853471242>", - "boost": "<:atlanta_boost:629316191797641248>", - "cool": "<:cool:957690472573325383>", - "notcool": "<:notcool:957690532203724862>", + "boost": "<:boost:1268237342100033591>", + "bot": "<:bot:1268237356066934865>", + "calendar": "<:calendar:1268237366401831015>", + "calendar2": "<:calendar2:1268237375352340500>", + "channels": "<:channels:1268237403131219969>", + "cool": "<:cool:1268237412979445780>", + "crown": "<:crown:1268237425910485084>", + "error": "<:error:1268237435331149985>", + "link": "<:link:1268237497758908567>", + "notcool": "<:notcool:1268237504352489513>", + "pencil": "<:pencil:1268237511814025266>", + "ram": "<:ram:1268237517979779244>", + "stats": "<:stats:1268237534471917599>", + "success": "<:success:1268237569510867067>", + "users": "<:users:1268237577958461592>", + "version": "<:version:1268237586439213140>", + "voice": "<:voice:1268237596392292352>", "status": { - "dnd": "<:atlanta_dnd:616613445252546570>", - "idle": "<:atlanta_idle:616613445290164224>", - "online": "<:atlanta_online:616613445424513028>", - "offline": "<:atlanta_offline:616613445487558696>" + "online": "<:status_online:1268237561793609852>", + "idle": "<:status_idle:1268237548308926516>", + "dnd": "<:status_dnd:1268237541379805314>", + "offline": "<:status_offline:1268237556084903997>" }, "letters": { - "a": "<:atlanta_a:616628945059840000>", - "w": "<:atlanta_w:616628945269424158>", - "r": "<:atlanta_r:616628944732422212>", - "d": "<:atlanta_d:616628944942268456>" - }, - "categories": { - "administration": "<:atlanta_administration_category:789030159419310101>", - "economy": "<:atlanta_economy_category:789030493793288212>", - "fun": "<:atlanta_fun_category:789030226607996958>", - "general": "<:atlanta_general_category:789030444167200808>", - "images": "<:atlanta_images_category:789030084861362257>", - "moderation": "<:atlanta_moderation_category:789030389741781033>", - "music": "<:atlanta_music_category:789030283637948417>", - "nsfw": ":smirk:", - "owner": "<:atlanta_owner_category:789030328261410836>", - "custom": "<:atlanta_custom_category:789029974379462686>" + "a": "<:letter_a:1268237457019764836>", + "d": "<:letter_d:1268237464229904424>", + "r": "<:letter_r:1268237470722560021>", + "w": "<:letter_w:1268237479190728715>" } } \ No newline at end of file