Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoobes committed Jul 23, 2024
1 parent 21ec6be commit da5c424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/cooldown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* const localCooldown = cooldown2()
* export default commandModule({
* plugins: [cooldown.add( [ ['channel', '1/4'] ] ), // limit to 1 action every 4 seconds per channel
* localCooldown.add([["user", "1/10"]]) ], // limit to 1 action every 10 seconds
* localCooldown.add([["user", "1/10"]]) ], // limit to 1 action every 10 seconds, local to command
* execute: (ctx) => { //your code here }
* })
* ```
Expand Down

0 comments on commit da5c424

Please sign in to comment.