v3.4.1 #27

Merged
voidf1sh merged 5 commits from v3.4.1 into main 2025-01-25 01:07:27 +00:00
Showing only changes of commit 8878ac76e8 - Show all commits

View File

@ -30,6 +30,12 @@ module.exports = {
await interaction.editReply(`Successfully set ${user}'s nickname to ${nickname}`);
} catch (error) {
console.error(error);
if (error.code === 50013) {
return await interaction.editReply('I do not have permission to set the nickname of that user!');
}
if (error.code === 50035) {
return await interaction.editReply('The nickname is too long!');
}
await interaction.editReply('There was an error while executing this command!');
}
},