Check if the user exists

This commit is contained in:
Tarrgon
2025-07-13 15:00:41 -04:00
parent d9162c8022
commit e97c7fa886
+4
View File
@@ -95,6 +95,10 @@ export default {
await deferInteraction(interaction);
const user = await client.users.fetch(idToUse);
if (!user) return interaction.editReply('User not found');
if (subcommand == 'add') {
const reason = interaction.options.getString('reason', true);