adding options

- ability to update indicator
This commit is contained in:
2025-06-04 18:28:27 -04:00
parent d9ff09da6b
commit 55b7a717f6
4 changed files with 31 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ package bolt
import "time"
type Command struct {
Trigger string //.command that triggers payload INCLUDING the '.'
Trigger string //command that triggers payload NOT including the indicator
Payload Payload //payload function to run when a command is detected
Timeout time.Duration //the amount of time before command can run again
LastRun time.Time //timestamp of last command run