feat: encode images on a separate thread

This commit is contained in:
TresAbhi committed 2023-06-05 17:46:22 +00:00
1 parent 804fa58d27
commit 58c68968e7
18 files changed
+42 -63

No files matched your search

-14
View File
@@ -48,10 +48,6 @@ export default {
],
});
console.warn(
`${interaction.user.username} failed to verify because of no nickname permission.`,
);
return;
}
@@ -83,10 +79,6 @@ export default {
],
});
console.warn(
`${interaction.user.username} failed to verify because of no manage roles permission.`,
);
return;
}
@@ -106,10 +98,6 @@ export default {
),
],
});
console.log(
`${interaction.user.username} verified as ${accountInfo[id].nickname}${clanTag}`,
);
} catch (error) {
await interaction.editReply({
embeds: [
@@ -121,8 +109,6 @@ export default {
),
],
});
console.warn('Failed to verify because of higher permissions.');
}
}
}