diff --git a/commands/admin/ctx_self_roles.js b/commands/admin/ctx_self_roles.js index 04a8529..0777a5e 100644 --- a/commands/admin/ctx_self_roles.js +++ b/commands/admin/ctx_self_roles.js @@ -13,7 +13,7 @@ export async function execute(interaction) { // Reply successfully to acknowledge command await interaction.reply({ - content: 'Successfully saved data from message!', + content: `Successfully saved data from message! Add roles to it with reference ID '${id}'.`, ephemeral: true, }); diff --git a/commands/admin/slash_self_roles.js b/commands/admin/slash_self_roles.js index c48cf13..c5c746b 100644 --- a/commands/admin/slash_self_roles.js +++ b/commands/admin/slash_self_roles.js @@ -80,7 +80,7 @@ const addSelfRoles = async (interaction) => { ] } }); - if (rep !== null) throw new Error(); + if (rep !== null) throw new Error(`Failed to fetch RoleEmojiPair entry with data {message:${id},role:${role.id},emoji:${emoji}}!`); // Create database entry for pair await RoleEmojiPair.create({ message: id, role: role.id, emoji });