replace emoji name in identifier

This commit is contained in:
Baipyrus 2024-02-05 02:58:08 +01:00
parent afa958b557
commit 1e716d5f5e

View File

@ -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