diff --git a/commands/admin/slash_self_roles.js b/commands/admin/slash_self_roles.js index 1494912..243ec79 100644 --- a/commands/admin/slash_self_roles.js +++ b/commands/admin/slash_self_roles.js @@ -61,7 +61,9 @@ const addSelfRoles = async (interaction) => { // Get user arguments const role = options.getRole('role'); - const emoji = options.getString('emoji'); + const emoji = options + .getString('emoji') + .replace(/:.*?:/, ':_:'); step = 'save data from'; // Try finding existing entry