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);