Skip to content

Conversation

@kpaulisse
Copy link
Contributor

@kpaulisse kpaulisse commented Feb 8, 2025

  • Adds firebot:cooldown-command to KnownEffectType

I wanted to add an effect that would cancel a cooldown on a command under certain circumstances, but this was not exposed as a known event type. I confirmed that the following effect correctly canceled the global cooldown:

{
  type: 'firebot:cooldown-command',
  selectionType: 'command',
  commandId: runRequest.trigger.metadata.command.id,
  action: 'Clear',
  clearUserCooldown: false,
  clearGlobalCooldown: true,
},

@ebiggz
Copy link
Member

ebiggz commented Mar 13, 2025

Thanks for the contribution!

@ebiggz ebiggz merged commit ca09f63 into crowbartools:main Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants