From 746341d48a9e3deb73a7bb18ce7f17a7d3b4b61e Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Fri, 9 Feb 2024 19:42:27 +0100 Subject: [PATCH] refactor: auto format --- events/channels/voiceStateUpdate.js | 2 +- shared.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/events/channels/voiceStateUpdate.js b/events/channels/voiceStateUpdate.js index 3b6b614..34f8d08 100644 --- a/events/channels/voiceStateUpdate.js +++ b/events/channels/voiceStateUpdate.js @@ -77,7 +77,7 @@ const leftVoiceChat = async (state) => { export const name = Events.VoiceStateUpdate; export async function execute(oldState, newState) { - await leftVoiceChat(oldState) + await leftVoiceChat(oldState); if (!newState.channel) return; // Find channel by id, return if not registered for customs diff --git a/shared.js b/shared.js index 7bf028d..bcec0a2 100644 --- a/shared.js +++ b/shared.js @@ -66,8 +66,7 @@ const editMessage = async (message, role, emoji) => { // Get old and build new content of message const current = message.content; - const next = current + padding + - `React with ${emoji} to receive <@&${role.id}>!`; + const next = current + padding + `React with ${emoji} to receive <@&${role.id}>!`; // Set message by editing await message.edit(next);