MCPcopy Create free account
hub / github.com/HiddenCodeDevs/BlumTelegramBot / start_farming

Method start_farming

bot/core/api.py:232–238  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

230
231 @error_wrapper
232 async def start_farming(self):
233 resp = await self.post(f"{self.game_url}/api/v1/farming/start")
234 data = await resp.json()
235
236 if resp.status != 200:
237 self._log.error("Failed start farming")
238 return data
239
240 @error_wrapper
241 async def claim_farm(self) -> bool | None:

Callers 1

check_farmingMethod · 0.80

Calls 1

postMethod · 0.95

Tested by

no test coverage detected