refactor: auto format

This commit is contained in:
Baipyrus 2024-02-09 19:42:27 +01:00
parent 3a2073f61f
commit 746341d48a
2 changed files with 2 additions and 3 deletions

View File

@ -77,7 +77,7 @@ const leftVoiceChat = async (state) => {
export const name = Events.VoiceStateUpdate; export const name = Events.VoiceStateUpdate;
export async function execute(oldState, newState) { export async function execute(oldState, newState) {
await leftVoiceChat(oldState) await leftVoiceChat(oldState);
if (!newState.channel) return; if (!newState.channel) return;
// Find channel by id, return if not registered for customs // Find channel by id, return if not registered for customs

View File

@ -66,8 +66,7 @@ const editMessage = async (message, role, emoji) => {
// Get old and build new content of message // Get old and build new content of message
const current = message.content; const current = message.content;
const next = current + padding + const next = current + padding + `React with ${emoji} to receive <@&${role.id}>!`;
`React with ${emoji} to receive <@&${role.id}>!`;
// Set message by editing // Set message by editing
await message.edit(next); await message.edit(next);