mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 17:30:07 +00:00
fix(handlers/webhook): do not add Date.now() to 900000 ms in executeSlashCommand() (#601)
Related #589
This commit is contained in:
@@ -461,7 +461,7 @@ export async function executeSlashCommand(
|
||||
cache.executedSlashCommands.set(token, id);
|
||||
setTimeout(
|
||||
() => cache.executedSlashCommands.delete(token),
|
||||
Date.now() + 900000,
|
||||
900000,
|
||||
);
|
||||
|
||||
// If no mentions are provided, force disable mentions
|
||||
|
||||
Reference in New Issue
Block a user