code cleanup and removal of auth stuff
This commit is contained in:
@ -24,7 +24,7 @@ module.exports = {
|
||||
let chatToSend = interaction.options._hoistedOptions[0].value;
|
||||
// Check if another request is already being processed
|
||||
if (isProcessing) {
|
||||
interaction.editReply('Sorry, another request is already being processed. Please try again in a few minutes.');
|
||||
interaction.followUp({ content: 'Sorry, another request is already being processed. Please try again in a few minutes.', ephemeral: true });
|
||||
return;
|
||||
}
|
||||
// Set the semaphore to true
|
||||
|
Reference in New Issue
Block a user