v0.3.6
BotBuddy
now implements AutoCloseable so that you can use try-with-resource:
// This will automatically call buddy.releasePressed() for you
try(BotBuddy buddy = BotBuddy.builder().build()) {
// ...
}
BotBuddy
now implements AutoCloseable so that you can use try-with-resource:
// This will automatically call buddy.releasePressed() for you
try(BotBuddy buddy = BotBuddy.builder().build()) {
// ...
}