mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-08 08:05:03 +00:00
Added slash command deferral to avoid timeouts
This commit is contained in:
parent
ee861bb5e9
commit
408f1b9c30
22 changed files with 32 additions and 3 deletions
|
@ -34,6 +34,7 @@ export const AddCaseSlashCmd = {
|
|||
],
|
||||
|
||||
async run({ interaction, options, pluginData }) {
|
||||
await interaction.deferReply({ ephemeral: true });
|
||||
const attachments = retrieveMultipleOptions(NUMBER_ATTACHMENTS_CASE_CREATION, options, "attachment");
|
||||
|
||||
// The moderator who did the action is the message author or, if used, the specified -mod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue