mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: encode images on a separate thread
This commit is contained in:
1 parent
804fa58d27
commit
58c68968e7
18 files changed
+42
-63
No files matched your search
@@ -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.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user