generated from Baipyrus/DiscordJS-Template
replace emoji name in identifier
This commit is contained in:
parent
afa958b557
commit
1e716d5f5e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user