Skip to content

Commit

Permalink
Add delay between multiple coins
Browse files Browse the repository at this point in the history
  • Loading branch information
wizzomafizzo committed Sep 19, 2023
1 parent 959e93c commit 2c8c315
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/mister/launchers.go
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ func LaunchToken(cfg *config.UserConfig, manual bool, kbd input.Keyboard, text s

for i := 0; i < amount; i++ {
kbd.Press(6)
time.Sleep(100 * time.Millisecond)
}

return nil
Expand All @@ -622,6 +623,7 @@ func LaunchToken(cfg *config.UserConfig, manual bool, kbd input.Keyboard, text s

for i := 0; i < amount; i++ {
kbd.Press(7)
time.Sleep(100 * time.Millisecond)
}

return nil
Expand Down

0 comments on commit 2c8c315

Please sign in to comment.