Esempio n. 1
0
async def delete_lobby(connection: LeagueConnection):
    ''' Deletes the current lobby '''
    connection.async_delete('/lol-lobby/v2/lobby')
Esempio n. 2
0
async def delete_lb_notification(connection: LeagueConnection):
    ''' Deletes leaverbuster notification '''
    future = connection.async_delete('/lol-leaver-buster/v1/notifications/1')
    await asyncio.sleep(0)
    future.result()