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

Method join_tribe

bot/core/api.py:309–314  ·  view source on GitHub ↗
(self, tribe_id)

Source from the content-addressed store, hash-verified

307
308 @error_wrapper
309 async def join_tribe(self, tribe_id):
310 resp = await self.post(f'{self.tribe_url}/api/v1/tribe/{tribe_id}/join', data={})
311 text = await resp.text()
312 if text == 'OK':
313 return True
314 raise Exception(f"Failed join_tribe: {text}")

Callers 1

check_tribeMethod · 0.80

Calls 1

postMethod · 0.95

Tested by

no test coverage detected