/[sudobot]/trunk/src/events/interaction/InteractionCreateEvent.ts
ViewVC logotype

Diff of /trunk/src/events/interaction/InteractionCreateEvent.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 207 by rakin, Mon Jul 29 17:29:01 2024 UTC revision 268 by rakin, Mon Jul 29 17:29:17 2024 UTC
# Line 50  export default class InteractionCreateEv Line 50  export default class InteractionCreateEv
50                      isInteraction: true                      isInteraction: true
51                  } as InteractionOptions;                  } as InteractionOptions;
52    
                 if (!await client.cooldown.start(interaction, options))  
                     return;  
   
53                  await command.execute(client, interaction, options);                  await command.execute(client, interaction, options);
54                  (global as any).lastCommand = commandName;                  (global as any).lastCommand = commandName;
55              }              }

Legend:
Removed from v.207  
changed lines
  Added in v.268

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26